March 28, 2024, 10:40:45 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: restrict users through squid  (Read 5078 times)

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
restrict users through squid
« 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
restrict users through squid
« Reply #1 on: January 06, 2005, 02:54:58 PM »
Gaurav.. well this question has been replied so many times already.. can you please search few last posts in the forum !

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
restrict users through squid
« Reply #2 on: January 07, 2005, 06:35:21 AM »
hi ricky
i haven't found ans of this question,abt squid service
please can u tell me again,
please
thxxx...
gaurav

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
help me
« Reply #3 on: January 07, 2005, 08:23:20 AM »
hi ricky
I have not found ans of my pb, can u please ans this ques?
help me plzz
gaurav

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
restrict users through squid
« Reply #4 on: January 07, 2005, 08:28:09 AM »
http://www.linuxsolved.com/forums/ftopic155.html
and there are many other !! well see an example..
Code: [Select]
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 !

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
squid
« Reply #5 on: January 07, 2005, 08:51:16 AM »
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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
restrict users through squid
« Reply #6 on: January 07, 2005, 10:03:08 AM »
hmm .. you are saying that you don't want blocking on the basis of the ips ?

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
squid
« Reply #7 on: January 07, 2005, 10:59:11 AM »
ya ricky , i don't want restriction through ip, i want local users to be restricted through squid by some atuhentication
gaurav

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
restrict users through squid
« Reply #8 on: January 10, 2005, 04:07:39 AM »
hi
do u know how to do this?
if yes then please tell me
gaurav

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
restrict users through squid
« Reply #9 on: January 10, 2005, 10:09:06 AM »
hmm.. then have to implement some authentication. Well to answer this i have to dig my computer. Will tell you about that soon !

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
restrict users through squid
« Reply #10 on: January 11, 2005, 10:43:51 AM »
hi ricky
i  solved my problem myself
gaurav

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
restrict users through squid
« Reply #11 on: January 11, 2005, 12:04:46 PM »
so hw you solve.. would you like to share ?

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
restrict users through squid
« Reply #12 on: January 12, 2005, 04:56:38 AM »
ya ricky
for this u have to enable  ncsa authintication
go to this site for further inf.
www.siliconvalleyccie.com
bye
gaurav