100 Web Space
http://forum.100webspace.com/

Q&A: Password Protected Areas
http://forum.100webspace.com/viewtopic.php?f=7&t=182
Page 1 of 1

Author:  Oliver [ Mon Feb 21, 2005 4:08 am ]
Post subject:  Q&A: Password Protected Areas

1 ) How to setup a password protected area (directory)?
Using the Password protected areas service, you can protect your directories against unauthorized access. When a visitor tries to open a protected directory (or a file located inside that directory), a dialogue window will pop up and request his username and password.

To protect a directory, follow these simple steps:
Fill in the Username, Password and Retype password fields.
In the Path field fill in the full path to the directory (for example: /www/domain.com) or use the [...] button to locate it. Once located, check the box in front of it and click the Set this button.
When the path is set, just click the Add protected area button.
Once a directory has been secured, you can always edit its password or remove it from the protected directories list.

2 ) What's password protection and .htaccess?
The .htaccess file can be placed in one or more of your /www/domainname-www subdirectories. Among other things, this file can be used to restrict access to other files and web pages.
When a request for a web page has been made, the web server first checks for an .htaccess file. The server begins this check by looking for .htaccess in the root of the current web directory, and on down the directory tree until it reaches the directory where the requested file resides. Since the placement of the .htaccess file determines when it will be executed, this fact can be used to restrict access only in certain subdirectories.

3 ) I want to use .htaccess protection. I have problem using it with your system. What to do?
Sometimes when you create the .htaccess file manually, there are errors. That's why it is best for you to add your first username and password from the Control Panel. After you add your first username and password, you can start using the .htaccess file without any problem.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/