Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For security purposes, configuration page has been implemented which provides the Administrator with control over what the accessibility of the Macro.

FieldDescription
Exclude scriptsThis is the global setting for disabling Scripting to be used by the Macro. By setting this field checked, it will result in exclusion of scripts within the URL provided.
Custom error message

custom error message is encountered explicitly when the user is accessing a non-white-listed URL. The purpose of this is to provide information as to whom to contact/reason for the error. 

Important: Default message will be used when accessing the configure screen first time or when the field value is not provided.

Default message: xhtml+html-include-replace; The URL specified is not whitelisted. Please speak to a system administrator.

Full URLThis is where the URL is specified.
Plain or RegexWhile specifying the URL, you have to select either Plain or Regex type.
Sort by

Allows you to sort the list by the following criteria:

  • A to Z
  • Z to A
  • Ascending ID
  • Descending ID

Example

I want to access the http://localhost URL by White listing it and disable scripting to enhance security. If the user tries to access a non-white-listed URL, I want to display my custom error message.

Accessing localhost in browser (the URL contains 6 scripts in total as shown in the console):

Image Added

Script Exclusion + Custom Error Message and White-listed URL has been set (Plain type):

Image AddedImage Added

Accessing localhost in the Macro and the console output:

Image AddedImage Added