If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
First you have to password protect the public_html folder in cpanel and create an authorized user, then you can edit the newly created .htaccess file into something like this:
order deny, allow
deny from all
allow from xxx.xxx.xxx.xxx (this is the allowed IP)
AuthType Basic
AuthName "...whatever"
AuthUserFile "/home/your_user/.htpasswds/your_protected_folder/passwd"
require valid-user
satisfy all
Comment