[LUG.ro] Squid > restringir a solo una pagina

-= GNUX Networking =- lugro@lugro.org.ar
Fri, 11 Jul 2003 17:58:24 -0300


This is a multi-part message in MIME format.

------=_NextPart_000_010D_01C347D6.06250A10
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

si, se puede hacer muy facil creando las acl correspondientes


    acl ips src "/etc/ips-permitidas"
    acl web-habilitadas src "/etc/webpermitidas.conf"
    http_access allow web-habilitados ips
    http_access deny all


donde en el archivo "/etc/ips-permitidas" listas ips que queres que =
naveguen
y el archivo "/etc/webpermitidas.conf" listas los sitios permitidos para =
navegar

Salu2
Diego D'Angelo

  ----- Original Message -----=20
  From: Alejandro Gabriel Brust=20
  To: Lugro=20
  Sent: Friday, July 11, 2003 4:15 PM
  Subject: [LUG.ro] Squid > restringir a solo una pagina


  Hola a todos como va?
  Bueno les comento, queria restringir los window$ que salen por el =
squid para que solo puedan acceder=20
  a las paginas del anses o afip y que las demas(yahoo, hotmail, etc) =
les de denegado.
  Hay manera de hacerlo por IP(uso estaticas en las PC's).
  Me gustaria saber si se puede armar un archivo editable con las url's =
permitidas....

  gracias por adelantado
------=_NextPart_000_010D_01C347D6.06250A10
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><STRONG><FONT face=3D"Lucida Console" size=3D2>si, se puede hacer =
muy facil=20
creando las acl correspondientes</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" =
size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" =
size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" size=3D2>&nbsp;&nbsp;&nbsp; =
acl ips src=20
"/etc/ips-permitidas"</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" size=3D2>&nbsp;&nbsp;&nbsp;=20
acl&nbsp;web-habilitadas src =
"/etc/webpermitidas.conf"</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" size=3D2>&nbsp;&nbsp;&nbsp; =
http_access=20
allow web-habilitados ips</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" size=3D2>&nbsp;&nbsp;&nbsp; =
http_access=20
deny all</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" =
size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" =
size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" size=3D2>donde en el archivo=20
"/etc/ips-permitidas" listas ips que queres que =
naveguen</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" size=3D2>y el archivo=20
"/etc/webpermitidas.conf" listas los sitios permitidos para=20
navegar</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" =
size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" =
size=3D2>Salu2</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" size=3D2>Diego=20
D'Angelo</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"Lucida Console" =
size=3D2></FONT></STRONG>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dalejandrob@pasteleros.org.ar=20
  href=3D"mailto:alejandrob@pasteleros.org.ar">Alejandro Gabriel =
Brust</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dlugro@lugro.org.ar=20
  href=3D"mailto:lugro@lugro.org.ar">Lugro</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, July 11, 2003 =
4:15 PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [LUG.ro] Squid &gt; =
restringir a=20
  solo una pagina</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D830011119-11072003>Hola =
a todos como=20
  va?</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN =
class=3D830011119-11072003>Bueno les comento,=20
  queria restringir los window$&nbsp;que salen por el squid para que =
solo puedan=20
  acceder </SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D830011119-11072003>a =
las paginas del=20
  anses o afip y que las demas(yahoo, hotmail, etc) les de=20
  denegado.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D830011119-11072003>Hay =
manera de=20
  hacerlo por IP(uso estaticas en las PC's).</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D830011119-11072003>Me =
gustaria saber=20
  si se puede armar un archivo editable con las url's=20
  permitidas....</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D830011119-11072003></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN =
class=3D830011119-11072003>gracias por=20
  adelantado</SPAN></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_010D_01C347D6.06250A10--