<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>The most basic would be NCSA authentication to an htpasswd generated file of your users/passwds.  Create the passwd file with htpasswd wherever you like and then add something like this to your squid.conf file:</DIV>
<DIV><PRE>auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/web_passwds<BR><PRE>acl web_users proxy_auth REQUIRED
<BR><PRE>http_access allow web_users</PRE><PRE> </PRE><PRE><FONT face=Tahoma>You might also look at using something like this to manage usernames and passwords if you have several users: </FONT><A href="http://squsermanager.rubyforge.org/"><FONT face=Tahoma>http://squsermanager.rubyforge.org/</FONT></A></PRE><PRE><FONT face=Tahoma> </PRE><PRE><FONT face=Tahoma>If you have a large number of users, you'll probably want to look at LDAP authentication.  Something like:</FONT></PRE><PRE>auth_param basic program /usr/lib/squid/squid_ldap_auth -H <A href="ldap://ldap.host.name">ldap://ldap.host.name</A> -Z -b o=YourOrg -s sub -f "(&(objectClass=person)(uid=%s))"</PRE><PRE> </PRE><PRE><FONT face=Tahoma>There are several ways to query LDAP though and that's just one that has worked for me against eDirectory.</FONT></PRE><PRE> </PRE><PRE><FONT face=Tahoma>HTH,</FONT></PRE><PRE><FONT face=Tahoma>Rob</FONT></PRE><PRE><FONT face=Tahoma></FONT> </PRE></FONT><PRE> </PRE><PRE><DIV>-------------------------------------</DIV><DIV>Rob Asher</DIV><DIV>Network Systems Technician</DIV><DIV>Paragould School District</DIV><DIV>(870)236-7744 Ext. 169</DIV><BR><BR>>>> <ssh@tranquility.net> 11/18/2007 10:06:32 pm >>><BR>I've always used Squid more or less out of the box, I'm working on a<BR>different application of it now. How can I have it authenticate to a<BR>given list? I need to have the users enter a name/password before they<BR>can go out through Squid.<BR><BR>thx<BR>Scott S.<BR></PRE></PRE></PRE></DIV></BODY></HTML>