# Web Authorization

<p class="callout info">Supported browsers:  
- Google Chrome, version &gt;= 76  
- Firefox, version &gt;= 71  
- Safari, version &gt;= 13  
</p>

In this type of authorization, any request from an unauthenticated user sent via a web browser will be redirected to a special authorization page of SafeUTM. After successful authorization, you will be redirected to the specified request.

For this type of authorization, the user must have the IP address of the SafeUTM local network interface specified on the network card as a gateway (chained into a gateway chain) or for direct connections to a proxy. Also, before connecting to the Internet, the **DNS resolution of addresses** must work, otherwise, the browser request to the *example.com* address will not be redirected to the gateway and the username and password request will not appear in the browser.

You can check name resolution in Windows using the command: `nslookup google.com`. The output of this command must contain IP addresses.

To configure authorization via the web interface, go to **Users -&gt; Authorization** and select **Web authentication** and **Authentication through web Interface**, as shown in the screenshot below:  
[![1. Web Authorization.png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/NeXha5XywKwxEH77-1-web-authorization.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/NeXha5XywKwxEH77-1-web-authorization.png)

After filling in the **Domain name** field and saving the settings, a Let’s Encrypt certificate will be issued and the user will be redirected to the authorization window, bypassing the security exception page:  
[![2. Web Authorization.png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/ofe14Y0IYXoNIkYu-2-web-authorization.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/ofe14Y0IYXoNIkYu-2-web-authorization.png)

If a certificate for such a domain has already been loaded in the [**Certificates**](https://docs.safedns.com/books/45-setup-services/page/tls-certificates) section, then it will be used and a new certificate will not be issued.

Next, try to access the internet via a web browser. An authorization window should appear where you need to type in the account’s login and password of the user created on SafeUTM. The authorization window can be seen in the screenshot below:  
[![3. Web Authorization.png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/GU3aj0yMe7hszIZk-3-web-authorization.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/GU3aj0yMe7hszIZk-3-web-authorization.png)When the user is authenticated via the web, access to the internet will be provided until the authorization is forcibly canceled or terminated due to the user’s inactivity.

<p class="callout info">When logging into an HTTPS website, the user must confirm the trust of the SafeUTM certificate. Alternatively, the certificate can be added to trusted root certification centers on the device (for example, through domain policies).</p>

<p class="callout info">It is recommended to specify the IP address of the local SafeUTM as a DNS server on the LAN computers and devices.</p>

<div class="pointer-container" id="bkmrk-%C2%A0"><div class="pointer anim is-page-editable"><svg class="svg-icon" data-icon="link" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg><div class="input-group inline block"> <button class="button outline icon" data-clipboard-target="#pointer-url" title="Copy Link" type="button"><svg class="svg-icon" data-icon="copy" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></button></div><svg class="svg-icon" data-icon="edit" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></div></div>You can learn more about the authorization of **Active Directory** ([**SSO-authentication**](https://docs.safedns.com/link/50#bkmrk-web-authorization-%28s)) users by clicking on this [**link**](https://docs.safedns.com/books/42-setup-users/page/active-directory-user-authorization).