HTML5 Server Security
The HTML5 Server serves GraphWorX displays to Web Browser Clients and handles their requests. It runs as the AnyGlass application in Internet Information Services (IIS), so its security depends on both GENESIS Security and the IIS configuration of the web server. This topic describes the protections that the HTML5 Server provides and the settings you can use to harden it. For hardening that applies to the whole GENESIS installation, see Security Hardening Guidelines.
Authentication
Web Browser Clients authenticate against GENESIS Security. The HTML5 Server supports these methods:
|
Method |
Description |
|---|---|
|
GENESIS login |
Users enter a user name and password in the login page or in a login control on a display. Works with every security mode. |
|
Integrated Windows Authentication |
The browser passes the current Windows user to the HTML5 Server, and the user is logged in automatically. Requires Active Directory security mode with Automatic Login enabled. Learn more |
|
Client certificate |
The browser presents a client certificate, such as a Common Access Card (CAC) or other smart card, and IIS maps it to an Active Directory user. Learn more |
|
Web Login |
Users log in through the GENESIS Web Login page or an external identity provider that uses OpenID Connect or SAML 2.0. Recommended for systems that are reachable from the internet. Learn more |
Password Protection in Transit
The HTML5 Server encrypts passwords in the browser before sending them to the server. Encryption uses asymmetric cryptography and applies to the login page, to login controls in displays, and to the password change that is required at first login. The encryption protects the password itself; configure HTTPS to protect the rest of the session. Learn more
Protection Against Password Guessing
GENESIS Security in database mode can lock an account after a number of failed login attempts. A lockout stops password guessing, but an attacker who knows a user name can also use it to lock out the legitimate user. To reduce this risk, the HTML5 Server includes an account rate limiter that blocks an IP address from the login and password change endpoints after too many requests within a time window. The rate limiter is disabled by default.
Use the rate limiter together with a higher account lockout threshold, so that the rate limiter blocks the attacker before the lockout affects the user. Learn more
HTTP Security Headers
The HTML5 Server adds the following HTTP security headers to its responses by default.
|
Header |
Default Value |
|---|---|
|
Content-Security-Policy |
|
|
Permissions-Policy |
|
|
Referrer-Policy |
|
|
Strict-Transport-Security |
|
|
X-Content-Type-Options |
|
|
X-Frame-Options |
|
Displays continue to work when you add the same headers at a higher IIS level, such as the Default Web Site. The Strict-Transport-Security header takes effect only over HTTPS.
Automatic Logout
The Auto Logout after (mins) account policy also applies to Web Browser Clients. Learn more In a Web Browser Client, only actions that send a request to the server reset the inactivity timer, such as navigating to another display, running a command, or using a local action. Moving the mouse or clicking an item that has no action does not reset it.
IIS Hardening
The HTML5 Server inherits the security of the IIS site that hosts it. Apply these settings in IIS Manager on the web server:
-
Bind a server certificate to the site and require HTTPS. Learn more
-
Disable Anonymous Authentication on the Default Web Site, on the AnyGlass application, and on the PubDisplay virtual directory when users authenticate with Windows credentials or client certificates. Learn more
-
When you use client certificates, set Client certificates to Require in the SSL Settings of the AnyGlass application.
-
Keep the IcoAnyGlass application pool identity at its installed default. The AnyGlass application does not use the IUSR account.