468,242 Members | 1,705 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,242 developers. It's quick & easy.

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 1283
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
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.