User upload file above web root with php

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-03-17T22:01:18Z Indexed on 2010/03/17 22:21 UTC
Read the original article Hit count: 297

Filed under:
|
|
|
|

I have a website where local bands can have a profile page, I'm implementing an upload system so that they can add songs to their profile.

I want to make sure that clever visitors to my website cannot download their songs.

I was thinking about uploading them to above the folder for my domain so that they cannot be accessed directly. Is this a good idea and/or possible? If not, what do you suggest I do to try and avoid users downloading songs. I'm already using a flash player to try and prevent downloads.

© Stack Overflow or respective owner

Related posts about php

Related posts about fileupload