Technical Support
How to?
Web Site Support
Hardware
FAQ's

|
 |
|
Username/Password
access on Select Directories
- Create a file inside the directory where you want to have access rights
named ".htaccess" (Don't forget the period "."
in front of the name htaccess)
- Inside the .htaccess file place the following text.
AuthUserFile /path/to/your/directory/.htpasswd
AuthType Basic
AuthName "Special Access"
require valid-user
"/path/to/your/directory/" must be changed to your home directory.
- Create another file called ".htpasswd" and place your users
inside this directory as given below
user1:fekogoETvQ8WY
user2:eVVssLmCtS5k.
john:V5DeLh/sbdtFY
mary:V5DeLh/sbdtFY
Each line of the user file contains a username followed by a colon, followed
by the encrypted password.
Click
here to use a tool to create encrypted passwords.
- All files within this directory will now require a valid username and password
to be entered. If incorrect username or password is entered the user will
be displayed an error page. To define a special page for this error page put
the following on your .htaccess file.
ErrorDocument 401 /access_denied.html
- If you have any problems following these instructions, contact
technical support.
|
|