Music Collection - The Music Management System for Joomla! 1.5.x

Bookmark and Share

Login Form






Forgot login?
No account yet? Register

Community demo tools

Search music albums

Random albums

Navigate through our music collection to add items into the playlist and start playing music!

Who's Online

We have 77 guests online

Contribute to our project making a donation! Tell us what would you like to destinate your contrubution to. Read more...

Home Forum
Please read this before posting!

There are thousands of posts on this forum, so please try to use our search facility before posting anything new: there's probably someone else who asked the same question as you, so give "search" a chance.

If you still can't find what you were looking for, feel free to post. Please remember this forum is for Music Collection verified customers only. Support will be only given to verified users. If you are not still a customer and have some "pre buy" questions, please use this category to post

Support topics are usually answered by admins in 24-48 hours.

Music Collection
Welcome, Guest
Please Login or Register.    Lost Password?
Scanning forlder in different server
(1 viewing) 1 Guest
Go to bottom
TOPIC: Scanning forlder in different server
#5201
greengeek
Expert Boarder
Posts: 119
graphgraph
User Offline Click here to see the profile of this user
Re:Scanning forlder in different server 4 Months, 3 Weeks ago Karma: 1
Thanks for the clarification. I see what you mean.


By external servers, I was not referring to servers or computers outside the same local network as the webserver is on. I was referring to computers which are on the same network. For example, a local webserver sitting right next to a local file server both on the same local network. That is very possible to do as apache's service inherits what ever permissions the admin sets for that local network. I totally agree, having a computer try to access a system from outside the same network via php or http would indeed be a BIG security issue.

I guess that really is besides the point though. If muscol can support files that are not on the webroot, then hopefully it will allow scanning of those files that are on the same computer as well to be added. If that is the case, its more of a local network setup for any function outside of that and not a programming issue. ie drive mapping or setting up shares for the network administrator.
 
Logged Logged
 
Last Edit: 2010/03/06 11:32 By greengeek.
  The administrator has disabled public write access.
#5203
ayyoub
Junior Boarder
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:Scanning forlder in different server 4 Months, 3 Weeks ago Karma: 0
I'm so confused, It might be a solution to that issue.
I have more 2000 title and I have been working on the migration since December
I used to work with xml's but copy/past each song is just a big headache.
Any genius idea?
 
Logged Logged
  The administrator has disabled public write access.
#5206
gomakeit
Senior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
Maestro Illuminist Photography
Re:Scanning forlder in different server 4 Months, 3 Weeks ago Karma: 0
@ayyoub
My belief is that there's absolutely no way to scan folder residing on another server (local network or not) unless you have mounted a sharepoint to your local server. This really a security feature - if anyone can scan folder on your remote server, it wouldn't be very secure would it. For those of you not familiar with mounting, you can easily use sshfs to mount if you have shell access to remote server (either on local network or accross internet). After that, the mount point behaves as if it's a local directory and MC scanning would work.

If you don't want to go down that route, you can write a script in your favorite language to list directories and output mysql command to merge with MC database. However, this must be run on your remote server so again you'd have to have some sort of shell access.

@greengeek
If you disable directory listing, using alias and careful .htaccess can function as a stop-gap solution before 2.1 arrives simply because user will have to know the exact path to the song to steal it. The current MC is smart enough that it doesn't present complete path of songs to users so normal visitors won't be able to find them just by browsing. Your .htaccess will have to block web spider from combing that directory so your songs won't show up on search engines and such.
 
Logged Logged
 
Maestro Illuminist Photography
Photography by Justin Xiang
  The administrator has disabled public write access.
Go to top

Random albums

 
© 2009 - 2010 Joomla Music Solutions