Apache htaccess - different htpasswd based on IP range
Posted: Tue Aug 22, 2006 5:17 am
Hi guys
I've been experimenting with the Allow, Deny and Satisfy directives in the configuration of our test-bed Windows 2000 Apache server.
Is it possible to vary the htpasswd file that's used based on the user's IP address??
I'm developing an intranet database interface and I only want certain users to be able to access the resources from outside the office, so I'd like to try and have a different htpasswd file for users in the office, and external users.
Anyone know if this is possible?
I'm using Apache/2.2.2 and PHP/5.2.0-dev on windows 2000
The whole thing is encrypted using OpenSSL and a self-signed certificate.
And our entire network is behind an IPCop box (with high-priority traffic shaping on the intranet port to guarantee availability for external users), and our ADSL modem..
But in terms of security, is htaccess authentication on windows apache up to the task??
I assume that htaccess is pretty damn secure even on windows, but I just want to make sure.
Thanks
Ben
I've been experimenting with the Allow, Deny and Satisfy directives in the configuration of our test-bed Windows 2000 Apache server.
Is it possible to vary the htpasswd file that's used based on the user's IP address??
I'm developing an intranet database interface and I only want certain users to be able to access the resources from outside the office, so I'd like to try and have a different htpasswd file for users in the office, and external users.
Anyone know if this is possible?
I'm using Apache/2.2.2 and PHP/5.2.0-dev on windows 2000
The whole thing is encrypted using OpenSSL and a self-signed certificate.
And our entire network is behind an IPCop box (with high-priority traffic shaping on the intranet port to guarantee availability for external users), and our ADSL modem..
But in terms of security, is htaccess authentication on windows apache up to the task??
I assume that htaccess is pretty damn secure even on windows, but I just want to make sure.
Thanks
Ben