• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Protect a directory?

#1
[eluser]mzuser[/eluser]
I know first thing people are going to say is htaccess. I've tried two methods with htaccess, a redirect and completely disabling files.

HOWEVER...

This also makes this directory unusable by my site. Basically I have a folder of audio clips I'm trying to protect, while still allowing them to play on my website.


Any ideas?

#2
[eluser]jonyr[/eluser]
Maybe is a good idea to move this folder behind wwwroot.
In this way, the content of this folder couldn´t be accessed from the browser.

#3
[eluser]Buso[/eluser]
the htaccess example from the userguide should work too

http://ellislab.com/codeigniter/user-gui.../urls.html

#4
[eluser]John_Betong[/eluser]
Try this method:
http://johns-jokes.com/downloads/sp/memilanuk/


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.