You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Mike Diehl (Encrypted email prefer red)" <md...@dominion.dyndns.org> on 2003/07/07 19:59:28 UTC
[users@httpd] Multiple auth sources
Hi all.
I have an Apache server which is currently authenticating users via
Mod_Auth_SMB. This has been working wonderfully. The Corportate server
people maintain the userlist on the NT domain and I am able to authenticate
my users against that list.
But now my customer requirements have changed...
Now they want to authenticate the website as before, but with one addition.
There is a section of the webspace that they want to authenticate against a
TACACS server. But, if the TACACS server is unreachable, they want to use
the NT Domain and a user-list to authenticat and authorize access to this
section.
For example:
If someone wants to get to the regular locations on the werver, they use their
NT domain username and password and they are in. My logs show who went were.
If someone want to access the special locations on the server, they will have
to use their TACACS username and password. But, if the TACACS server is
down, then the will use their NT domain username and password and get in only
if their username is on a list, which I will have to maintain.
Can this be done?
If so, can you point me in the right direction?
Thanx,
Mike Diehl.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] Protecting files
Posted by Rus Foster <rg...@fsck.me.uk>.
Hi
I've got a customer who has the following setup
/path/to/documentroot
/path/to/documentroot/inc
Now in inc he has things like database login info which is called from
things in documentroot. Now the problem I've got is how to protect the inc
folder. Trying things like order allow,deny and <Files *.inc> are causing
trouble as the files are being called as
http://www.domain.com/inc/file.inc
Short or recoding the application to call files as
/path/to/documentroot/inc is there anything that can be done?
Rgds
Rus
--
www: http://www.65535.net | Hosting - Shell Accounts
MSNM: support@65535.net | Virtual Servers from just $15/mo
e: rghf@65535.net | Community: http://www.65535.org
t: +44 (0) 7092016595 | 10% Donation on every FreeBSD product
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Multiple auth sources
Posted by "John K. Sterling" <jo...@sterls.com>.
On Monday, July 7, 2003, at 05:25 PM, Mike Diehl (Encrypted email
prefer red) wrote:
> One problem is that during a quick search, I wasn't able to find a
> TACACS
> module for Apache. I may have to write one in perl.....
i think there are a couple, try:
http://sourceforge.net/projects/mod-auth-tacacs/
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Multiple auth sources
Posted by "Mike Diehl (Encrypted email prefer red)" <md...@dominion.dyndns.org>.
On Monday 07 July 2003 01:20 pm, John K. Sterling wrote:
> Apache definitely does not make this easy, but it is theoretically possible
> by figuring out which auth module runs last (either in the module
> definition, or based on the order they are loaded) and set it to
> 'Authoritative on' (most auth modules have this ability). Then set all of
> the other auth modules to 'Authoritative off'.
Well, question #1 was if this was possible. Sounds like it is.
> By convention most auth modules support the authoritative concept. So the
> ones that have 'Authoritative off' return DECLINED if they fail (not
> unauthorized) allowing other auth modules to get the opportunity to try as
> well - then the last one (which is set to 'Authoritative on' returns
> unauthorized if it fails too.
Question #2 was for a pointer in the right direction. Looks like I have some
reading to do.
> hope this helps.
Yes, it does. Thank you.
One problem is that during a quick search, I wasn't able to find a TACACS
module for Apache. I may have to write one in perl.....
Mike Diehl.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Multiple auth sources
Posted by "John K. Sterling" <jo...@sterls.com>.
>-- Original Message --
>From: SAQIB <sa...@seagate.com>
>
>I dont think this is possible. Even if it was it would be a security
>issues. A long while back I was looking into this, but didnt pursue due
to
>possible security issues.
how is this a security issue? the way i read the question he simply wants
to have a couple of auth modules have a chance to authenticate for a given
location.
Apache definitely does not make this easy, but it is theoretically possible
by figuring out which auth module runs last (either in the module definition,
or based on the order they are loaded) and set it to 'Authoritative on'
(most auth modules have this ability). Then set all of the other auth modules
to 'Authoritative off'.
By convention most auth modules support the authoritative concept. So the
ones that have 'Authoritative off' return DECLINED if they fail (not unauthorized)
allowing other auth modules to get the opportunity to try as well - then
the last one (which is set to 'Authoritative on' returns unauthorized if
it fails too.
hope this helps.
sterling
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Multiple auth sources
Posted by SAQIB <sa...@seagate.com>.
Hello Mike,
I dont think this is possible. Even if it was it would be a security
issues. A long while back I was looking into this, but didnt pursue due to
possible security issues.
http://www.xml-dev.com
"Vision without action is a daydream. Action without vision is a
nightmare." -Japanese proverb
On Mon, 7 Jul 2003, Mike Diehl (Encrypted email prefer red) wrote:
> Hi all.
>
> I have an Apache server which is currently authenticating users via
> Mod_Auth_SMB. This has been working wonderfully. The Corportate server
> people maintain the userlist on the NT domain and I am able to authenticate
> my users against that list.
>
> But now my customer requirements have changed...
>
> Now they want to authenticate the website as before, but with one addition.
> There is a section of the webspace that they want to authenticate against a
> TACACS server. But, if the TACACS server is unreachable, they want to use
> the NT Domain and a user-list to authenticat and authorize access to this
> section.
>
> For example:
>
> If someone wants to get to the regular locations on the werver, they use their
> NT domain username and password and they are in. My logs show who went were.
>
> If someone want to access the special locations on the server, they will have
> to use their TACACS username and password. But, if the TACACS server is
> down, then the will use their NT domain username and password and get in only
> if their username is on a list, which I will have to maintain.
>
> Can this be done?
>
> If so, can you point me in the right direction?
>
> Thanx,
> Mike Diehl.
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org