Fortinet black logo

Administration Guide

Importing XML DTD files

Importing XML DTD files

A Document Type Definition (DTD) is a specification that defines the structure, legal elements, and attributes of an XML document. By importing a DTD file, you can validate an XML request to ensure it adheres to the specified rules and constraints outlined in the DTD.

This section provides instructions to:

  • Import a XML DTD file
  • Select a XML DTD file in an XML protection rule
To import a XML DTD file
  1. Go to Web Protection > XML Protection.
    To access this part of the web UI, your administrator's account access profile must have Read and Write permission to items in the Web Protection Configuration category. For details, see Permissions.
  2. Select the XML DTD tab.
  3. Click Create New.
  4. For Upload File, click Choose File.
  5. Select an acceptable DTD file.
  6. Click OK.
To select a XML DTD file in an XML protection rule

For details about creating an XML protection rule, see Creating XML protection rules.

  1. Go to Web Protection > XML Protection.
    To access this part of the web UI, your administrator's account access profile must have Read and Write permission to items in the Web Protection Configuration category. For details, see Permissions.
  2. Select the XML Protection Rule tab.
  3. Select an existing XML protection rule to which you want to add the DTD file.
  4. For DTD Validation, select the DTD file from the drop down menu.
  5. Click OK.

Importing XML DTD files

A Document Type Definition (DTD) is a specification that defines the structure, legal elements, and attributes of an XML document. By importing a DTD file, you can validate an XML request to ensure it adheres to the specified rules and constraints outlined in the DTD.

This section provides instructions to:

  • Import a XML DTD file
  • Select a XML DTD file in an XML protection rule
To import a XML DTD file
  1. Go to Web Protection > XML Protection.
    To access this part of the web UI, your administrator's account access profile must have Read and Write permission to items in the Web Protection Configuration category. For details, see Permissions.
  2. Select the XML DTD tab.
  3. Click Create New.
  4. For Upload File, click Choose File.
  5. Select an acceptable DTD file.
  6. Click OK.
To select a XML DTD file in an XML protection rule

For details about creating an XML protection rule, see Creating XML protection rules.

  1. Go to Web Protection > XML Protection.
    To access this part of the web UI, your administrator's account access profile must have Read and Write permission to items in the Web Protection Configuration category. For details, see Permissions.
  2. Select the XML Protection Rule tab.
  3. Select an existing XML protection rule to which you want to add the DTD file.
  4. For DTD Validation, select the DTD file from the drop down menu.
  5. Click OK.