November 21, 2024, 10:03:59 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: squid 05-10 websites  (Read 8492 times)

Offline abc1234

  • New Member
  • Posts: 3
squid 05-10 websites
« on: January 01, 2004, 08:30:25 PM »
Hello team !!

Is it possible in squid first to block all websites (everthing) ...... then allow only 05-10 sites of our choices.

Please let me know is it possible or not....

Thanks a lot !!!!!!!

Offline dalek

  • LST CareTaker
  • Crescent
  • *****
  • Posts: 243
squid 05-10 websites
« Reply #1 on: January 02, 2004, 06:23:36 AM »
I have read that that is possible.  i'm not sure but I think it says to block all then you list the exceptions.  That said, I have never used squid.  I just read that somewhere.

Hope that makes sense.

Later

 :D  :D  :D
still no teeth on that grin.  I smile bigger than that.

Offline bahram741413

  • Linux Noob !
  • *
  • Posts: 5
squid 05-10 websites
« Reply #2 on: January 18, 2004, 05:05:11 AM »
hi 2 all
i think that the ACLs can solve ur problem.

acl first_site dstdomain www.firstsite.com
acl second_site dstdomain www.secondsite.com
.
.

http_access allow firstsite
http_access allow second_site
.
.
.
http_access deny all