Editing Content Filtering Http Banner Files - D-Link DFL-1660 User Manual

Network security firewall
Hide thumbs Also See for DFL-1660:
Table of Contents

Advertisement

8.3. Customizing Authentication
HTML Pages
HTML back to NetDefendOS.
To perform customization it is necessary to first create a new Auth Banner Files object with a new
name. This new object automatically contains a copy of all the files in the Default Auth Banner
Files object. These new files can then be edited and uploaded back to NetDefendOS. The original
Default object cannot be edited. The example given below goes through the customization steps.
HTML Page Parameters
The HTML pages for WebAuth can contain a number of parameters. These are:
%CHALLENGE_MESSAGE% - The question text asked.
%IPADDR% - The IP address which is being browsed from.
%ERRORMSG% - The reason that access was denied.
%USER% - The username entered.
%REDIRHOST% - The IP of the host that was requested.
%REDURURL% - The path of the host that was requested.
%REDIRURLENC% - The URL encoded path.
%IPADDR% - The IP of the client.
%DEVICENAME% - The name of the authenticating firewall.
The LoginFailure Page with MAC Authentication
If authentication fails with MAC authentication, the %USER% parameter will contain the MAC
address of the requesting client (or the MAC address of the intervening router nearest the firewall).
A typical parameter set of values for the LoginFailure page when MAC address authentication is
used might be:
USER:
REDIRHOST:
REDIRURL:
REDIRURLENC: %2ftesting%3fuser%3duser%26pass%3dpass
IPADDR:
DEVICENAME:
The %REDIRURL% Parameter Should Not Be Removed
In certain banner web pages, the parameter %REDIRURL% appears. This is a placeholder for the
original URL which was requested before the user login screen appeared for an unauthenticated
user. Following successful authentication, the user becomes redirected to the URL held by this
parameter.
Since %REDIRURL% only has this internal purpose, it should not be removed from web pages and
should appear in the FormLogin page if that is used.
Example 8.4. Editing Content Filtering HTTP Banner Files
00-0c-19-f9-14-6f
10.234.56.71
/testing?user=user&pass=pass
10.1.6.1
MyGateway
411
Chapter 8. User Authentication

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dfl-2560Dfl-2560gDfl-260eDfl-860e

Table of Contents