Re: [squid-users] Two ways to authenticate?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 01 Aug 2003 15:13:05 +0200

fre 2003-08-01 klockan 13.59 skrev Janno de Wit:

> Thus, if ident-authentication fails (e.g. client connection-refused),
> squid sends a HTTP-authenticate header so the user can enter his
> username/password.
>
> Is this possible?

Yes.

One simple way is to

acl user_ident ident REQUIRED
acl auth proxy_auth REQUIRED
http_access deny !user_ident !auth

Other combinations are possible.

The reverse is not possible however (use ident if authentication fails).

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
Please consult the Squid FAQ and other available documentation before
asking Squid questions, and use the squid-users mailing-list when no
answer can be found. Private support questions is only answered
for a fee or as part of a commercial Squid support contract.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Fri Aug 01 2003 - 07:13:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:31 MST