Limiting Login Attempts from Web Browser Clients

When GENESIS Security runs in database mode, it locks an account after a number of failed login attempts. An attacker who knows a user name can use this to lock out the legitimate user, either through the login page or through the password change page. The HTML5 Server account rate limiter blocks an IP address from these pages after too many requests in a time window, while users on other computers can still log in. Configure the rate limiter when database security is in use and the HTML5 Server is reachable from untrusted networks. For systems that are reachable from the internet, we recommend Web Login.

The procedure raises the lockout threshold and enables the rate limiter, so that the rate limiter blocks repeated attempts before the account is locked.

To limit login attempts from Web Browser Clients:

  1. Open Workbench and in Project Explorer, expand your project > Security > Policies, and then double-click the account policy that applies to web users. In the Account Lock on / Login Failure section, set Lock account after failed login (N attempts) to 10, and then click Apply. Learn more

  2. On the web server, open the ico.anyglass.parsing.config file in a text editor as an administrator.

  3. Set the AccountRateLimiter element to the number of requests and the time window that you allow. For example, the following setting allows 4 requests from one IP address in 15 minutes:

    <AccountRateLimiter requestLimit="4" timeWindow="15" />
    • requestLimit—The number of requests to the login and password change pages that one IP address can make in the time window. 0 disables the rate limiter.

    • timeWindow—The length of the time window, in minutes.

  4. Save the file and restart the IcoAnyGlass application pool in IIS Manager.

  5. Test the setting: from one client computer, enter a wrong password more times than requestLimit. Further login attempts from that computer are blocked until the time window ends, and login from another computer still works.