471,072 Members | 1,406 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,072 software developers and data experts.

I want to secure the folder songs from Unauthenticated usage

i m developing a website for sell of songs all songs are place in songs folder. and at front end of website url to download shows the link of songs folder so it is threat that may be soem try to access the songs directly from folder without paying.
I Had paced a index page in those folders which redirect back to website.
But if their is some better approach then plz tell me
With Best Regards
Oct 20 '06 #1
4 1360
4,258 Expert 4TB
Protect the folder with a password and let your legal user log in. The download script must only be executed then via the passed userid and password and must come from an allowed URI.

Ronald :cool:
Oct 20 '06 #2
268 100+
use htaccess file to prodect the folder

Oct 23 '06 #3
4,258 Expert 4TB
Am I hearing an echo?

Ronald :cool:
Oct 23 '06 #4
use htaccess file to prodect the folder

.htaccess also block the download of songs from download links that will be given to download the song
Oct 27 '06 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Raghu Raman | last post: by
2 posts views Thread by Timbo | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.