Home arrow Forum & FAQ arrow F.A.Q (Frequently Asked Questions) - All Publicarrow Password Protectionarrow How do I Password Protect a directory on a Unix server?
IGoSite.com Hosting Forum
October 06, 2008, 06:32:51 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome!
 
   Home   Help Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: How do I Password Protect a directory on a Unix server?  (Read 234 times)
admin
Administrator
Full Member
*****
Offline Offline

Posts: 216


View Profile
« on: January 24, 2007, 06:25:54 pm »

This feature (.htaccess) can be setup manually with SSH access, but the WebShell feature is much easier to setup.

***THIS ONLY WORKS ON THE UNIX OS (NO WINDOWS)***
***YOU CAN ONLY PASSWORD PROTECT A FOLDER THIS WAY-NOT FILES***

1) Login to the account in question and login to the WebShell for it.
2) Locate the folder that you want to password protect and click on the folder icon to the left of it.
3) This brings up the Folder Details on the right, as well as the option to "create .htaccess file".
4) Click on the Create button to the right of this, which will bring up the .htaccess details.

AuthType: Must be set to "basic"
AuthName: The text that shows in the pop-up window
requesting you to login
AuthUserFile: The location and name of the password file,
leave at default
AuthGroupFile: Leave blank
Require: Must be set to "valid-user"
Additional Directives: Leave blank

5) Click on the "create" button to the right of AuthUserFile to add your first login.
6) Once you have added the first login, this "create" button will change to "edit", which you click on to add additional logins.
7) When you first set this up, you will need to save the configuration to the server AND, any time you make changes to the password file, you will need to click on "Save" at the bottom of the ".htaccess details" window to save the changes to the server.
Logged

Admin
http://www.IGoSite.com
Hosting For Everyone
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.1 | SMF © 2006, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.365 seconds with 22 queries.