C3rd
Securing Web Folders
Posted: 27 Apr 2012, 2:23am - FridayCreate or Add this to .htaccess
AuthType Basic AuthName "Members Only" AuthUserFile /home/user/public_html/secretfolder/.htpasswd <limit GET PUT POST> require valid-user </limit>then execute the htpasswd command;
htpasswd -c /home/user/public_html/secretfolder/.htpasswd adminThat's it.. if you visit http://servername.com/~user/secretfolder/ -- it will prompt a username and password. So you have to enter admin as username and the password you entered. Enjoy~!
Search
Categories
Related Links
- Apache Web Server
- ASP Immigration Services Ltd.
- CentOS Linux
- Color Scheme Picker
- CSS Button Generator
- Deviant Art Account
- Don Tabaniag - GraphiCult
- Jerson Maglasang Weblog
- Joshua Manlunas
- Mark "mungkey" Vicente
- Matt Arnilo Baluyos
- MySQL
- Paul Labis
- PHP
- PrendStar
- Ridvan Baluyos
- Scott Davies
- SEO Fart XML-RPC Ping Tool
- Stripes Generator
- The Hero
- Ubuntu Linux
- Vim Carlo Nabora (DA)
- Wella Maria Hong
- What is my IP?
- Xavier University - Ateneo de Cagayan
- Zabyer Community