Page 1 of 1

Folder security

Posted: Wed Jul 09, 2008 3:35 am
by webline
i have a website that i upload videos so i want to lock the folder of the video OR i make a php script in that mask the url of the folder..
Can any one help..??

Re: Folder security

Posted: Wed Jul 09, 2008 2:55 pm
by jaoudestudios
If you want simple but secure security for a folder just use a .htaccess file.

Re: Folder security

Posted: Thu Jul 10, 2008 12:22 am
by webline
jaoudestudios wrote:If you want simple but secure security for a folder just use a .htaccess file.
I use different ways from htaccess but the videos didnt start because the folder lock and for the script also..The video is for live streaming not downloading..

Re: Folder security

Posted: Thu Jul 10, 2008 1:01 am
by jaoudestudios
When someone goes to that directory and enters the correct username and password they will be able to stream the videos but not before.

Re: Folder security

Posted: Thu Jul 10, 2008 1:30 am
by webline
jaoudestudios wrote:When someone goes to that directory and enters the correct username and password they will be able to stream the videos but not before.
You speak about only one password ?
Its a paid video and some free its a newspaper and the video is for the members. some they have to pay to see it and some other are free. So i cant put password because the video are for public..

Re: Folder security

Posted: Thu Jul 10, 2008 12:42 pm
by jaoudestudios
Ah ok...yep in that case you will need to create your own secure system.

htaccess is not really feasible - it can have more than one username and password, but not ideal for this situation.