english question = password protect folder over-ride?

Alles, was den Apache betrifft, kann hier besprochen werden.

english question = password protect folder over-ride?

Postby techexpressinc » 05. November 2008 21:15

We have an website with a folder that userid/password protected. Is it possible for to pass the userid/password to the server?

The situtation is that is the employee area. So, when the employees log-in from the office; they do not to enter the userid/password. If they enter from some place other than the office we need them to enter the userid/password.

So, is there a way to can get the ip see the ip is the office ip then not require the password by passing it on to the server somehow?

Is this pie in the sky thinking?

Thanks for any help or direction.
Russ at techexpressinc.com
techexpressinc
 
Posts: 4
Joined: 05. November 2008 21:11

Postby Wiedmann » 05. November 2008 22:32

So, is there a way to can get the ip see the ip is the office ip then not require the password by passing it on to the server somehow?

http://httpd.apache.org/docs/2.2/mod/core.html#satisfy
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

password over-ride

Postby techexpressinc » 07. November 2008 21:57

thx - i will give a try Russ
techexpressinc
 
Posts: 4
Joined: 05. November 2008 21:11

Failed! - i tried and it do not work i was still prompted

Postby techexpressinc » 07. November 2008 22:05

my htaccess code looked like this
Options -Indexes
AuthType Basic
AuthName "restricted area"
AuthUserFile /data/13/1/150/135/1313461/user/1406792/htdocs/employeesatisfy/.access.pwd
AuthPam_Enabled off

Require valid-user
Order allow,deny
Allow from 69.245.249.165
Satisfy Any
techexpressinc
 
Posts: 4
Joined: 05. November 2008 21:11

Password skip by ip not working any ideas?

Postby techexpressinc » 24. November 2008 02:23

my htaccess code looks like this
Options -Indexes
AuthType Basic
AuthName "restricted area"
AuthUserFile /data/13/1/150/135/1313461/user/1406792/htdocs/employeesatisfy/.access.pwd
AuthPam_Enabled off

Require valid-user
Order allow,deny
Allow from 69.245.249.165
Satisfy Any
techexpressinc
 
Posts: 4
Joined: 05. November 2008 21:11


Return to Apache

Who is online

Users browsing this forum: No registered users and 193 guests