Restricting the Access to Portal According IP
Customers using the on-premise version are able to restrict their own access to the admin portal according to an IP address. It is possible to use this feature by adding the codes below to the web.config file.
<rule name="Block login page" stopProcessing="true">
<match url="^Modules/User/Login.aspx" />
<add input="{Authorised Admin IPs:{REMOTE_ADDR}}" pattern="1" negate="true" />
<action type="CustomResponse" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
<!-- This is your list of white-listed IP's-->
<rewriteMap name="Authorised Admin IPs">
<!-- Local IP Addresses-->
<add key="" value="1" />
Copy link