---
title: "Restricting Your Docs to Logged In Users"
description: "HelpDocs makes it easy to restrict access to your docs to logged in users. This way, when a user visits your docs they'll be redirected to the regular login page instead."
url: "https://support.helpdocs.io/article/YClKB8p02e-restricting-your-docs-to-logged-in-users"
category: "Authentication"
updated_at: "2025-02-22T15:56:01Z"
---

# Restricting Your Docs to Logged In Users

HelpDocs makes it easy to restrict access to your docs to logged in users. This way, when a user visits your docs (on your HelpDocs subdomain or custom domain) they'll be redirected to the regular login page instead.

This works great paired with the [read-only role](https://support.helpdocs.io/article/CaKSeF9kSP-managing-user-roles) and [Single Sign On](https://support.helpdocs.io/category/iiu43alv7z-authentication)

This option is enabled by default when you sign up and [during the trial period](/article/1FWuw8yJiP-the-help-docs-trial)

1. Log in to HelpDocs at `<your-subdomain>.helpdocs.io/app`
2. Go to **Settings** &gt; **Access** &gt; **Options**
3. Check **Restrict Frontend to Logged In Users**
4. Hit **Save Changes**

Now your frontend knowledge base will only be accessible to users that have logged in. Remember, you'll now need to invite users to your account before they're able to view your docs.

You'll need to [request an SSL certificate](/article/ABfqGbX2fi-setting-up-a-custom-domain#add_ssl_to_your_custom_domain) before we can let you use this with a custom domain. Gotta be secure, y'all 🤠
