-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jepoy,
| yes im already using that. for time basis. can i use it for user basis 
or per user basis?
Kindly see:

http://www.visolve.com/squid/squid24s1/access_controls.php
and look for the proxy_auth ACL type.

- --snip--
Description
User authentication via external processes. proxy_auth requires an 
EXTERNAL authentication program to check username/password combinations 
(see authenticate_program ).

Usage    
acl aclname proxy_auth username...
use REQUIRED instead of username to accept any valid username

Example
acl ACLAUTH proxy_auth usha venkatesh balu deepa
This acl is for authenticating users usha, venkatesh, balu and deepa by 
external programs.

Warning
proxy_auth can't be used in a transparent proxy. It collides with any 
authentication done by origin servers. It may seem like it works at 
first, but it doesn't. When a Proxy-Authentication header is sent but it 
is not needed during ACL checking the username is NOT logged in access.log.
.--snip--


example:
- --
acl keanne    proxy_auth keanne
acl banned    dstdomain "/usr/local/squid/etc/banned.txt"

http_access  allow  banned keanne
http_access  deny   banned
- --

This will allow NCSA authenticated keanne to access the banned site.


hth,
Kenneth
|
| */jan gestre <[EMAIL PROTECTED]>/* wrote:
|
|
|
|     On Wed, Feb 20, 2008 at 5:00 PM, jepoy <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:
|
|         hi guys,
|         is it possible to use NCSA for authenticating users to allow 
them some blocked sites as also configured in squid. like a certain user 
can view block sites and other users cannot.
|
|
|     Hi Jepoy,
|
|     Why not use the access control list (acl) features  of squid? You 
can declare by using access control list (ACL) who can access including 
the time it can be accessed.
|
|     As for NCSA authentication maybe this will help.
|
|     
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch32_:_Controlling_Web_Access_with_Squid
|
|     Cheers!
|
|     Jan
|
|
|
|     --
|     http://jangestre.wordpress.com 
_________________________________________________
|     Philippine Linux Users' Group (PLUG) Mailing List
|     [email protected] (#PLUG @ irc.free.net.ph)
|     Read the Guidelines: http://linux.org.ph/lists
|     Searchable Archives: http://archives.free.net.ph
|
|
|
|
| JCB
| Registered Linux User #371834
| http://counter.li.org <http://counter.li.org/>
|  
|
| Never miss a thing. Make Yahoo your homepage. 
<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
|
| -------------------------
|
| _________________________________________________
| Philippine Linux Users' Group (PLUG) Mailing List
| [email protected] (#PLUG @ irc.free.net.ph)
| Read the Guidelines: http://linux.org.ph/lists
| Searchable Archives: http://archives.free.net.ph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHvNeIvnUh5TOaOvgRArWdAJ42VhWd7hSh1lv3gHZ3uB93VaeK0gCghZYi
B4W1hnF7NbBxHAVaXFg7yDc=
=usQf
-----END PGP SIGNATURE-----

------------------------------------------------------------------------
This message may contain confidential and/or privileged information
intended only for the addressee. Any views expressed in this message
are those of the individual sender and may not necessarily reflect the
opinions of Panasonic Communications Philippines Corporation.
------------------------------------------------------------------------

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to