Htpasswd
From AMember Pro Manual
This plugin will work to provide protection on any Unix based hosting plan. It will protect all content in any protected directory. However there are some disadvantages compared to using php_include plugin - for details see here. If it is possible for you to do so we recommend that you use a php_include method.
Useful if:
- Due to server configuration, new_rewrite protection does not work for you
Requirements
No special requirements
Setting Up Protection
Just use aMember CP -> Protect Folders function.
How does it work (for programmers only)
aMember creates 2 files : amember/data/.htpasswd and amember/data/.htgroup. First defines usernames and password, and second - which active subscriptions every member has. Protect Folders function will create .htaccess files referring to these files for usual Apache htpasswd authentication.
Files are updated when new user signups, and completely rebuilt every Midnight.
Normally when an user enters a URL to a page protected with .htaccess an ugly gray login screen will pop up. After latest Internet Explorer fixes, it is impossible to avoid this login box.