Displaying 2 results from an estimated 2 matches for "www90".
2007 Mar 26
2
How to limit a user to access a few sites.
...s external ip_user %SRC %LOGIN %DST
http_access deny !ncsa_users
http_access deny !ip_users
http_access allow ip_users
http_access allow ncsa_users
my ip.conf file is like this.
[root at worldnet squid]# cat /etc/squid/ip.conf
192.168.101.25   indunil .google.com .bbc.com .cnn.com
192.168.101.90  www90
Accoring to the above file, User indunil with ip address 192.168.101.25 has
access to google.com,bbc.com and cnn.com.
But the user indunil still has access to all the sites.
How can I solve this?
-- 
Thank you
Indunil Jayasooriya
-------------- next part --------------
An HTML attachment was sc...
2007 Mar 28
0
How to limit a user to access a few sites. (SOLVED)
...ncsa_users allowedsites
http_access deny clientips
Then, created /etc/squid/ip.conf and add the pair (ip and username)
[root at worldnet squid]# cat /etc/squid/ip.conf
192.168.101.25  indunil
192.168.101.26  asanka
192.168.101.28   www28
192.168.101.29  www29
192.168.101.30  www30
192.168.101.90  www90
Then, by using htpasswd, I created /etc/squid/squid_passwd file.
[root at worldnet squid]# cat /etc/squid/squid_passwd
indunil:TeiAQ3uqXDQNg
www:Oi4THedCcN0nQ
web:EEluAdNUco6.g
www90:3CNziF2SkgmAo
www28:eXuWlloKq1mk2
www29:6UH7KXjAZ769o
www30:RtjV9ZZHEzzaA
asanka:gX88uJrvXSV7A
Then, created /etc...