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..??
Folder security
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Folder security
If you want simple but secure security for a folder just use a .htaccess file.
Re: Folder security
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..jaoudestudios wrote:If you want simple but secure security for a folder just use a .htaccess file.
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Folder security
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
You speak about only one password ?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.
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..
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Folder security
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.
htaccess is not really feasible - it can have more than one username and password, but not ideal for this situation.