.htaccess password only for external IP addresses?

Hi All,

Is it possible to set an htaccess file with a password but only for external IP addresses. In other words IP address range 192.168.0.xxx would be allowed regardless. Anything else would require a password.

I know you can do the whole thing as in restrict access via IP or allow via IP but i would like a password for all external IP’s

Thanks for any help!

Arc

I doubt if it’s possible using .htaccess, but you can do it using PHP (so login screen will be displayed for specific IPs only)

I think you can with the Satisfy directive