Click to Return to Webby homepage You have a friend @Webby!  

CTRL + zooms fonts
Toolbox
Pay For Renewals
The Cart
Software for your own posty site Get Your Posty Site
Privacy Policy
Marketing FAQ
Hosting FAQ
Tools
Terms and conditions
Random Picked Clients
Lessontutor
Angel Winks
Stonecarver.com
Condo Fees
Poor Clare Nuns
Angel Eyes
http://www.?????
Look for an available domain name
We Use and Recommend


We use and have used toner and ink and ink cartridges from Atlantic Inkjet. com for over a dozen years and are very satisfied with their inks and their friendly support for all printers. If you need some printer ink, we can highly recommend them.

Click here for a FREE
30 day trial

This is the Mail Washer that I use and have used for almost 3 years. I have tested many others, but Mail Washer is still The Best spam control.
Fun Stuff
Humor Letter
Top Posty Sites
The Right Posty
for that special client or friend
Useful Tools
Converter
Babelfish
Tools
Virus Hoaxes
<!---

Website Password Protection

You can password protect directories of your web site, so only users with a given username and password can access that directory and files within it. The most popular method used is HTAccess, as described below.

Single User Protection:

  1. Create the directory you want to password protect in your www (example: members)
  2. Create a file .htaccess in that directory that looks like:
    AuthUserFile /usr/sites/username/.htpasswd
    AuthGroupFile /dev/null 
    AuthName ByPassword 
    AuthType Basic 
    
    
    <Limit GET> 
    require user myfriend 
    </Limit> 
    
    Important! Replace AuthUserFile path with REAL path to your login directory!
  3. Create the password file in your login directory using the program htpasswd To do this, log into your account via SSH and type:
    /usr/local/apache/bin/htpasswd -c .htpasswd myfriend
  4. When prompted, enter the password for that user.
  5. Now try to access a file in the protected directory by entering the set username and password when prompted for it.

Multiple User/Group Protection:

  1. Create your directory in www (example: members), to contain the protected files.
  2. Create a file .htgroup in your login directory that contains the group name and list of users:
    members: user1 user2 user3 
  3. Modify .htaccess, so it looks like:
    AuthUserFile /usr/sites/username/.htpasswd 
    AuthGroupFile /usr/sites/username/.htgroup 
    AuthName ByPassword 
    AuthType Basic 
    
    <Limit GET> 
    require group members 
    </Limit> 
    

    Important! Replace AuthUserFile path with REAL path to your login directory!
  4. Create the password file .htpasswd using the program htpasswd for each user (as above in part 1). You don't need the -c option if the file .htpasswd already exists (-c is used to create a new file).
    /usr/local/apache/bin/htpasswd .htpasswd user1 
    /usr/local/apache/bin/htpasswd .htpasswd user2
    
    and so on...
  5. Remember to add any new users to the .htgroup file.
  6. Now try to access a file in the protected directory by entering the set username and password when prompted for it.

Keep in mind that: 1. all files should have a blank line at the bottom and 2. always use the full path to your configuration files.

For further details, please refer to the Apache mod_auth docs