I need a good proxy server

loudmouth

Senior member
Dec 9, 2000
338
0
0
I need a good proxy server that will present a user with usage policy before gaining access to the web.

Thanks
 

dphantom

Diamond Member
Jan 14, 2005
4,763
327
126
you could do that through redirection to a web page that requires acknowledgement of a usage policy. That avoids a proxy server, but one would need to know html.

I am not a web developer, but here is a snippet of code to give you an idea maybe.

<html>
<head>
<title>Deferred Access Policy </title>
<meta name="author" content="XYZ systems">
<meta name="description" content="Deferred Access
Policy">
</head>
<body>
<center>
<img
src=http://www.XYZ.com/images/XYZhp_logorev.gif>
<p>
<font face="Arial, Helvetica, sans-serif" size="4"
color="Red"><b>You are about to access the Internet from
the XYZ Network
<p>
<font face="Arial, Helvetica, sans-serif" size="4"
color="Red">INTERNET USAGE IS MONITORED AND
LOGGED.</font>
<p>
<font face="Arial, Helvetica, sans-serif" size="3"
color="Red"><b> Your IP address:
$(client.address)<br>Your username: $(user)</b></font>
<p>
<font face="Arial, Helvetica, sans-serif" size="4"
color="red">YOU MUST COMPLY WITH THE CORPORATE WEB
ACCESS POLICY BEFORE ACCESSING THE INTERNET.
<p>
NOTE THAT CONTENT FILTERING AND VIRUS SCANNING ARE
APPLIED
<p>
FAILURE TO COMPLY WITH THE POLICY WILL RESULT IN WEB
ACCESS BEING DENIED
 

loudmouth

Senior member
Dec 9, 2000
338
0
0
i'm not sure the above script will do what i need.

When a user contects his computer to the network and opens IE/Firefox it will first open the USER AGREEMENT no mather what the homepage is set to. No other pages can be viewed or opened w/o first accepting the agreement. Having just HTML code will not accomplish this.

 

Woodie

Platinum Member
Mar 27, 2001
2,747
0
0
Set up a proxy, and require authentication. Make the ID/pword a dummy one.
But...configure the credentials popup to display the usage warning you want, as well as the id/pword information for the users.
 

Haden

Senior member
Nov 21, 2001
578
0
0
I would setup squid and use redirect_program,
which would be script which performs whatever checks necessary and either redirects to agreement page or allows access.