W
EB
F
ILTER
A
PPENDICES
S
ECTION
A
PPENDIX
B
M86 S
ECURITY
U
SER
G
UIDE
445
print "<body>\n";
print "<form method=post name=block>\n";
print "<input type=hidden name=\"SITE\"
value=\"_BLOCK_SITE_\">\n";
print "<input type=hidden name=\"IP\" value=\"$ip\">\n";
print "<input type=hidden name=\"URL\" value=\"$url\">\n";
print "<input type=hidden name=\"CAT\" value=\"$cat\">\n";
print "<input type=hidden name=\"USER\" value=\"$user\">\n";
print "<input type=hidden name=\"STEP\" value=\"STEP2\">\n";
print "<br>Web Filter Customized Block Page (CGI written with Perl
using Java Script to post form data)<br>\n";
print "URL: $url<br>\n";
print "IP: $ip<br>\n";
print "CAT: $cat<br>\n";
print "USER: $user<br>\n";
print "<br>For further options, <a
href=\"javascript:do_options()\">click here</a><br>\n";
print "</form>";
print "</body>\n";
print "</html>\n";
CGI written in C
/*
* cusc_block.c
* Description: sample C source code of CGI for customized block page
* Replace <Web Filter IP> with real IP and recompile before using
* Revision: 1
* Date: 03/08/2004
*/
#include <stdio.h>
struct {
char *name;
char *val;
} entries[20];
char szIP[16];
char szURL[1024];
char szUserName[1024];
char szCategory[8];
/*function prototypes*/
Содержание M86 Threat Analysis Reporter
Страница 1: ...M86 Web Filtering and Reporting Suite USER GUIDE Software Version 4 2 00 Document Version 10 10 11...
Страница 28: ...CONTENTS xxviii M86 SECURITY USER GUIDE INDEX 887...
Страница 518: ...WEB FILTER APPENDICES SECTION APPENDIX D 490 M86 SECURITY USER GUIDE Fig D 20 Mobile Client Package Contents page...
Страница 938: ...INDEX 910 M86 SECURITY USER GUIDE...