Hi nehal,
        Regarding UR query on userlevel access with squid.Squid can be used to
give access based on username and passwd.but fot this squid should be
compiled with proxy authentication.and the add the line  
proxy_auth /etc/squidpasswd.
the passwd file is a file with the format user:password and can be made using
the htpasswd program form apache.
U can also use the ident _lookup on directive in the conf file.
heres the original version of the squid documentation on user level ACL.
-----------------------------------------------------------------------
0.2 How do I block specific users or groups from accessing my cache?

Ident

You can use ident lookups to allow specific users access to your cache. This requires 
that an ident server process runs on the user's machine(s). 
In your squid.conf configuration file you would write something like this: 

ident_lookup on
acl friends user kim lisa frank joe
http_access allow friends
http_access deny all

Proxy Authentication
Another option is to use proxy-authentication. 

1. 
Recompile squid with -DUSE_PROXY_AUTH=1. Uncomment USE_PROXY_AUTH in src/Makefile. 

make clean
vi src/Makefile
make
make install

2. 
Configure proxy authentication in squid.conf. 

proxy_auth /usr/local/squid/etc/passwd

passwd is an apache-style file of passwords for authenticated proxy access. It looks 
like username:password, with the password being standard crypt() format. 

3. 
Create the passwd file and give the passwords to your users. You can use apache's 
htpasswd program to generate and maintain the passwd file. The usernames in the passwd 
file do not need to correspond to system user names. You may give many people the same 
username and password combination to access your cache.
-----------------------------------------------------------------------------------------


regards 

sanjeev

----------------------------------------------------------------------
An alpha version of a web based tool to manage your 
subscriptions with this majordomo2 server is available
at http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to