The rules.xml file can be used to exclude resources based on a URL that matches a regular expression. To exclude URL's using the rules.xml file you must create a rule with an argument type of "URI" and with an expression argument that contains a regular expression that matches the URL you wish to exclude. The action type for the rule should be of type "HTTP" with an argument to return the http result "200" for any URL that matches the rule. This will cause the RSA Access Manager Agent to abandon processing of any URL that matches the expression and issue the http request immediately.
An example of a rule that allows access to any aspx pages in any directory or sub directory under the home directory:
<Rule>
<argument type="URI" expression=" ^/home/*\.aspx"/>
<action type="HTTP" argument="200"/>
</Rule>
WARNING: The regular expression engine is very powerful. Ensure that the regular expression you create is carefully crafted only to exclude only he desired resources. It is very easy to unintentionally create a regular expression that matches resources you do not intend to exclude. The regular expression is not a URL, it is a substring that may match an part of the URL.
For example the rule <argument type="URI" expression="home"/> would match
/home/user1/index.html
but it also matches
/root/homepathy/secret.html
The Access Manager agent parses the incoming URL into a URI and a querystring component before applying rules. If you wish to match the incoming URL based on the querystring portion of the URL then you should use a rule with an argument type of "querystring".
For example the rule <argument type="querystring" expression="home"/> would match
/root/bin/getdir.aspx?value=home
or
/root/bin/getinfo.aspx?home=Idaho
Related Articles
RSA Access Manager Certificate based authentication fails with IE 11 browser 66Number of Views Cannot use the semicolon character in regular expressions with RSA Web Threat Detection 8Number of Views How to configure restricted access times for authentication agents in RSA Authentication Manager 8.x 88Number of Views How to exclude directories on a Datacenter agent - RSA DLP 22Number of Views How to Include or Exclude an Active Directory OU from the Microsoft LDAP directory on RSA Authentication Manager 8.x 89Number of Views
Trending Articles
RSA Release Notes for RSA Authentication Manager 8.8 RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA MFA Agent 2.4.3 for Microsoft Windows Group Policy Object Template Guide RSA MFA Agent 2.4 for Microsoft Windows Installation and Administration Guide Microsoft Entra ID External Authentication Methods (EAM) - RSA Ready Implementation Guide