Create a Password Protected Area?Suppose you want to have a 'members only' password-protected area on your website. You can create one with ProPageManager by creating a 'Member List', and then using the Access Manager to specify the folder you want to protect--with the Member List you created controlling access to it.
The 'Access Manager' uses the web server* to protect the folder--if /myprotected folder is protected, then no one can access any files under it--e.g. /myprotected/sample.htm--without first entering their logon and password.
Let's assume you want to create a password protected folder named '/protected'. Perform these two steps:
1. Create your list of logons and passwords. Use Module Configuration to add a list. A "Member's List" sample module configuration is provided for your convenience. This sample configuration has 'Logon', 'Password', 'Email' and 'Name' created for you. Obviously 'password' is for the password, but you can specify 'Logon', 'Name', or 'Email' to be the Logon (in step 2).
(You don't actually HAVE to use the 'member list' sample. You can use any list you want--in step 2 you can choose any text field to be the logon and any text field to be the password.)
If you're only using the module to manage users (and not to generate any pages), you probably want to set the module to Don't Publish.
After you've created your members module, add/edit/remove users using 'Edit Pages/View Data'.
2) Use Access Manager to set up your protected folder. The Access Manager screen shows one row for each protected folder--you can have as many protected folders with as many member lists as you want.
For our example, enter this data in the 'New' row:
| Access Manager Entry |
Example value |
Explanation |
| Folder: |
/protected |
the folder we want to protect |
| Controlled by this module: |
Member List |
the module you created to contain your logons and passwords |
| User Id field: |
Logon |
the field we want to use for "logon" |
| Password field: |
Password |
the field we want to use for the password |
Be sure to click 'Update' to save your work.
* Specifically: ProPageManager creates an .htaccess file in the folder.
|