Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Question on .htpasswd and Intranet/Internet security |
|
Author |
|
apache2newb
Joined: 24 Jul 2007 Posts: 1
|
Posted: Tue 24 Jul '07 4:01 Post subject: Question on .htpasswd and Intranet/Internet security |
|
|
What I was wondering was, Is there a way to use the .htpasswd and not effect internal connection? I want to make some of our Intranet available so folks can work from home. I already use php with a login system, but I was hoping for a little extra security when coming from the outside by adding a .htpasswd that didnt effect the local network connections when they were actually working at work on the LAN. Is this possible? I am kind of thinking it might be a setting in apache?
Thank you
Mike |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 24 Jul '07 15:16 Post subject: |
|
|
Maybe you want this:
in .htaccess file
Code: |
Order Deny, Allow
Deny from All
Allow from 192.168.50
|
or
Code: |
Require valid-user
Allow from 192.168.50
Satisfy Any
|
See
mod_authz_host
Satisfy
How to : Access Control |
|
Back to top |
|
|
|
|
|
|