Skip to main content

🔐 How to Add Password-Protected Pages

Learn how to scan password-protected pages by setting up basic or form authentication for your domain.

Updated yesterday

🧾 Authentication Options

If any of your pages are located behind a login, you will need to indicate that authentication is required.

You will now have the option to choose between:

  • Basic Authentication. Select this option if any URLs associated with your domain require a Username and Password.

  • Form Authentication. Select this option if any URLs associated with your domain require users to complete a more detailed form.


💻 Basic Authentication Details

Some websites are protected with a login before anyone can see them. This is called HTTP authentication.

If your site has this kind of protection, our tool needs your login details so it can get past the lock and scan your pages.

Just enter the same Username and Password you normally use for that protected site. These details are only used by our tool to sign in and check your site’s accessibility, nothing else.


⚙️ Form Authentication Details

With form authentication, you will have the option to provide more details, including:

  • Login URL

  • Username and Password

  • Login Form Selector, which indicates a button or URL that needs to be clicked to trigger the login form

  • Username and Password Field Selectors, which help our tool identify the fields where the username and password need to be inserted

  • Submit Button Selector, which helps our tool identify which button should be clicked to submit the login request

To find the form selectors, follow these steps:

  1. Open your login page in a browser (like Chrome).

  2. Right-click on the username box and choose Inspect (sometimes called Inspect Element).

  3. A panel will open showing the page’s code.

  4. In that panel, you’ll see a highlighted line of code for the username box. Look for an id or name attribute (e.g., id="user_email" or name="username").

  5. Copy that value, as that’s your Username Field Selector.

  6. Do the same for the Password field. This gives you the Password Field Selector.

  7. Next, right-click on the Login button and inspect it. Again, look for an id, name, or even a class (like class="login-button"). That’s your Submit Button Selector.

  8. If your login form only appears after clicking a link or button (like “Sign In”), inspect that element in the same way. That will be your Login Form Selector.

After filling in the necessary details, you can click on the "Add Domain" button.

Did this answer your question?