DCANet Logo
Web Support
Control Panel
Uploading Files
Web Statistics
Databases
Legacy Hosting

DCANet

(888) 4-DCANET
Contact Us!

 

Services
Support
About Us
Contact Us

Home > Technical Support > Web > Password Protection

Use these instructions to password protect directories on your website via special .htaccess files.p> For more information on secure web pages and .htpasswd files, see NCSA's security tutorial.

To create a password entry that you can use to add to your .htpasswd file, enter the username and password in the form below and press the "Submit" button. If you do not enter a password, a random password will be automatically generated.

Enter the username and password:
  Username: 
  Password: 

Example:

Location of .htpasswd file /home/joeuser/.htpasswd
Contents of .htpasswd file
foouser:$1$eP$uCnhSHdCbteSgMCLn7Dcj.
jqpublic:$1$Z1$XghwFtqeIlj4tLLO9cRGP0
Location of .htaccess file /home/joeuser/public_html/website.com/securedir/.htaccess
Contents of .htaccess file
AuthUserFile /home/joeuser/.htpasswd
AuthGroupFile /dev/null
AuthName ByPassword
AuthType Basic

<Limit GET>
require user jqpublic
require user foouser

</Limit>

Make sure the .htaccess & .htpasswd files are world-readable!
chmod a+r .htaccess

chmod a+r .htpasswd

 

HOME | WEBMAIL | NETWORK STATUS | SERVICES | SUPPORT | ABOUT US | CONTACT US
Privacy Policy/Copyright
Copyright © 1994-2011 DCANet is a division of Consult Dynamics Inc.