logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Question on .htpasswd and Intranet/Internet security
Author
apache2newb



Joined: 24 Jul 2007
Posts: 1

PostPosted: Tue 24 Jul '07 4:01    Post subject: Question on .htpasswd and Intranet/Internet security Reply with quote

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: 7298
Location: Germany, Next to Hamburg

PostPosted: Tue 24 Jul '07 15:16    Post subject: Reply with quote

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


Reply to topic   Topic: Question on .htpasswd and Intranet/Internet security View previous topic :: View next topic
Post new topic   Forum Index -> Apache