Re: [squid-users] NEW:Re: [squid-users] Banner

From: Kirk Schneider <kschneider@dont-contact.us>
Date: Mon, 18 Nov 2002 12:25:13 -0600

Alireza,


In the past, our proxy pac would pop up warning page about
correct internet usage. But that was annonying and removed.


--
Kirk Schneider 972-952-4645 (work)
Raytheon IT Security Engineer 888-431-7621 (pager)
McKinney, TX 214-912-8679 (cell)
kschneider@raytheon.com



-------- Original Message --------
Subject: Re: [squid-users] NEW:Re: [squid-users] Banner
Date: 18 Nov 2002 17:59:42 +0100
From: Henrik Nordstrom <hno@squid-cache.org>
To: Alireza Naderi <alireza@panaisp.net>
CC: waitman@emkdesign.com, squid-users@squid-cache.org
References: <4657.217.66.208.250.1037539640> <200211171528.30731@henrik.marasystems.com> <4950.217.66.208.250.1037544583> <1037562447.1770.24.camel@r1.emkhost.com> <2537.217.66.208.250.1037636470>

And you have received the slightly obfuscated answer "this is not the
job of Squid".

You have two choices:

   a) Make your users install and use your custom made browser who
includes such banners. (most likely the easiest approach)

   b) Write a content transforming proxy who adds such banner by clever
rewriting of returned HTML. Quite many sites are likely to fail when
accessed via such proxy.


Writing a prototype proxy doing 'b' is simple. Writing one that actually
works to a acceptable level is a nightmare and requires detailed
knowledge of programming, HTML, Dom, JavaScript and VBScript, as all
levels need to be adjusted to account for the banner added..

Complications for a rewriting proxy adding banner:

   * Frames. The proxy do not know if a page is displayed in a frameset
or not.

   * DOM. If you change the HTML layout then this may have effects on the
DOM layout as well unless done carefully.

   * JavaScript/VBScripts. Care must be taken not to disturb
JavaScript/VBScript snippets running on the pages..

   * HTML Layout.

   * CSS layout.

   And probably many more.

Regards
Henrik






mån 2002-11-18 klockan 17.21 skrev Alireza Naderi:
> Hi Waitman
>
> Thanx and sorry if i ask again and again
> I can not understand your mean
> >Is this for a Windows platform?
>
> my cache server is unix and client os is windows
> i saw that URL (indy) but can not find that how it can help me
> i read their FAQ topics and nothing about HTTP
> what do you think?
>
> do any one have idea about this:
> i want to display a permanent banner at our users when they use
> my squid cache
>
> Thanx in advance
> Alireza


Received on Thu Nov 21 2002 - 09:50:11 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:28 MST