With AuthPro you can easily setup and manage .htaccess password protection on your website to generate and synchronize .htpasswd file records with your active members list.
How it works
You will need to upload our PHP script which will create basic .htaccess config file and generate actual .htpasswd password file with your AuthPro members list.
If you have another script or application which manages usernames in your .htpasswd file set $sync_htpasswd config variable to true
Requirements
Installation
$account='Your Authpro account username'; $api_key='Your Authpro account API key'; $folder_name='Members area'; $folder_path[0]='/home/example/www/members/'; // Primary path, must be defined $folder_path[1]=''; // specify additional folders if needed $force_htaccess=true; // force creting .htaccess file if it does not exists $sync_htpasswd=false; // set true to check primary htpasswd file for updates and sync them with AuthPro account members
<script src="http://www.example.com/authpro.php"></script>(use actual URL of uploaded AuthPro script on your website in script code).