Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: gauravbajaj on January 06, 2005, 11:13:28 AM
-
Hi linux grp
Can anyone tell that how to give restrictions to various users using squid.
i.e i want that, if some user want to open anysite, he have to give some password.
CAN ANYONE HELP ME PLZZZ
-
Gaurav.. well this question has been replied so many times already.. can you please search few last posts in the forum !
-
hi ricky
i haven't found ans of this question,abt squid service
please can u tell me again,
please
thxxx...
gaurav
-
hi ricky
I have not found ans of my pb, can u please ans this ques?
help me plzz
gaurav
-
http://www.linuxsolved.com/forums/ftopic155.html
and there are many other !! well see an example..
acl userallow src 192.168.1.15
acl good_site dstdomain .yahoo.com .msn.com .linuxsolved.com
http_access deny good_site
http_access allow usertoblock good_site
Well above code will allow user 192.168.1.15 to view only good_site and else will not see .
Similarly you can disallow any user or list of user.
Also use http://www.linuxsolved.com/forums/search.php and you will get ton of answer as you are looking for !
-
hi ricky
thx for reply,
but this is not answer of my query, i already know abt this.
your previous answer restricts only certion sites & restict that client ip -address
but i want to restrict local -users by using squid, can u tell how can i?
The question is suppose i have a local user name in my linux m/c as gaurav, i don't want to allow gaurav to access certain site lets say yaoo.com.
& suppose i also want if gaurav wants to access yahoo.com, he must give some password, i.e not the password of local account some other password.
SO CAN U HELP ME?
THXXX IN ADVANCE
gaurav
-
hmm .. you are saying that you don't want blocking on the basis of the ips ?
-
ya ricky , i don't want restriction through ip, i want local users to be restricted through squid by some atuhentication
gaurav
-
hi
do u know how to do this?
if yes then please tell me
gaurav
-
hmm.. then have to implement some authentication. Well to answer this i have to dig my computer. Will tell you about that soon !
-
hi ricky
i solved my problem myself
gaurav
-
so hw you solve.. would you like to share ?
-
ya ricky
for this u have to enable ncsa authintication
go to this site for further inf.
www.siliconvalleyccie.com
bye
gaurav