to make a directory accessible with password i have just to create a file .htaccess in this directory
----
AuthName "Admin access"
AuthType Basic
AuthUserFile /var/require valid-user
---
and create .htpasswd file with htpasswd command to give a password to authorized users.
But how can grant access to some IP without password ?
I am sure that there is some words to input to .htaccess to let pc with some IP to access without password
Thanks very much ;-)
----
AuthName "Admin access"
AuthType Basic
AuthUserFile /var/require valid-user
---
and create .htpasswd file with htpasswd command to give a password to authorized users.
But how can grant access to some IP without password ?
I am sure that there is some words to input to .htaccess to let pc with some IP to access without password
Thanks very much ;-)