hit counter script

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

Network security firewall netdefendos version 2.27.03
Hide thumbs Also See for DFL-260E:
Table of Contents

Advertisement

8.3. Customizing HTML Pages
%IPADDR% - The IP address which is being browsed from.
%REASON% - The reason that access was denied.
- The web page URL for redirects.
The %REDIRURL% Parameter
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
This example shows how to modify the contents of the URL forbidden HTML page.
Web Interface
1.
Go to Objects > HTTP Banner files > Add > Auth Banner Files
2.
Enter a name such as new_forbidden and press OK
3.
The dialog for the new set of ALG banner files will appear
4.
Click the Edit & Preview tab
5.
Select FormLogin from the Page list
6.
Now edit the HTML source that appears in the text box for the Forbidden URL page
7.
Use Preview to check the layout if required
8.
Press Save to save the changes
9.
Click OK to exit editing
10. Go to Objects > ALG and select the relevant HTML ALG
11. Select new_forbidden as the HTML Banner
12. Click OK
13. Go to Configuration > Save & Activate to activate the new file
Uploading with SCP
It is possible to upload new HTTP Banner files using SCP. The steps to do this are:
1.
Since SCP cannot be used to download the original default HTML, the source code must be
first copied from the WebUI and pasted into a local text file which is then edited using an
appropriate editor.
Tip: HTML file changes need to be saved
In the above example, more than one HTML file can be edited in a session but the
Save button should be pressed to save any edits before beginning editing on another
file.
380
Chapter 8. User Authentication

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents