TMCM/Apex Central can be hardened through the use of the URL Rewrite module of IIS, since TMCM/Apex Central was built on IIS. To install and use the URL Rewrite module, follow the steps below:
- Download and install URL rewrite module.
- Open the site on which you would like (in this case, choose Control Manager/Apex Central web site) to hide the X-AspNet-Version and server header values and click on the URLRewrite section.
- Click on the View Server Variables in the Actions pane in the right-hand side.
- In the View Server Variables page, do the following:
- Click on the Add button, and then enter "RESPONSE_X-ASPNET-VERSION" in the textbox provided.
- Click on the Add button, and then enter "RESPONSE_SERVER" in the textbox provided.
- Add two rules:
- Click Add Rule(s) and choose Outbound rules > Blank rule. Then set the following:
- "Precondition" as "None"
- "Matching scope" as "Server Variable"
- "Variable name" as "RESPONSE_X-ASPNET-VERSION"
- "Using" as "Regular Expressions"
- "Pattern" as ".*"
- Apply the rule.
- Click Add Rule(s) and choose Outbound rules > Blank rule. Then set the following:
- "Precondition" as "None"
- "Matching scope" as "Server Variable"
- "Variable name" as "RESPONSE_SERVER"
- "Using" as "Regular Expressions"
- "Pattern" as ".*"
- Apply the rule.
- Click Add Rule(s) and choose Outbound rules > Blank rule. Then set the following: