Re: [squid-users] Authentication

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 20 Jun 2006 21:50:08 +0200

tis 2006-06-20 klockan 07:48 -0400 skrev Sketch:

>
> Basically I have a .htaccess and .htpasswd, I don't want to be adding
> user manually to the squid configuration everytime a user is added.
> Also, the protected directories are dynamic, so I cannot define them
> within the squid conf, it's solely dependent on the .htaccess files...

If you want to run authentication at the web server then no
authentication should be used in Squid. All you need to do is to allow
Squid to pass the login details to the backend server. (not done by
default due to security implications when authentication is used at the
reverse proxy).

> So is it safe to assume that as long as the Authorization string is
> passed by using login=PASS on the cache_peer entry, authentication
> should work without the external helper (ncsa_auth)?

Yes.

Regards
Henrik

Received on Tue Jun 20 2006 - 13:50:12 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:02 MDT