[users@httpd] Password Protect Directory based on IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Howdy,

I have had an internal website running for my company.  My boss now
wants employees to be able to access the website outside of the company
LAN and wants it to be password protected.  Is it possible when a user
is outside of the LAN to prompt for a username and password with
.htaccess.

Basically, if a user is inside the LAN they will NOT be prompted for
username and password.  If a user is outside of the LAN they WILL be
prompted for a username and password. 

Users inside the LAN access the web server by its IP address in the URL
bar.  Users outside of the LAN would access the web server with a URL
name.  I have been searching based on IP address, but maybe it can be
setup by what the user puts in the URL bar?

Any suggestions are greatly appreciated. :-)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux