> ## Documentation Index
> Fetch the complete documentation index at: https://docs.streampixel.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Security & access control

> Password-protect your stream and restrict which domains can embed it.

Two access controls live under **Project Settings → General**: password protection and domain restrictions. Use them together for production.

If viewers should sign in with your organisation's own identity provider instead of a shared password, see [SSO access](https://docs.streampixel.io/resources/quick-start-guide/sso-access.md).

## Password protection

Set a password and viewers must enter it before the stream loads.

1. Open **Project Settings → General**.
2. Enable **Password Protect**.
3. Set a password and save.
4. Share the password with intended viewers only.

## Domain restrictions

By default your stream embeds anywhere. Whitelist domains to lock embedding to your own sites.

| Pattern | Effect |
| - | - |
| `example.com` | Allows embedding only on `example.com`. |
| `*.yourdomain.com` | Allows all subdomains of `yourdomain.com`. |
| `example.com, *.yourdomain.com` | Multiple — comma-separated. |

> [!WARNING]
>
> Always include `share.streampixel.io` in the whitelist if you want the Streampixel-hosted share link to keep working.

![Access Control](https://mintcdn.com/streampixel/SBPJP8xnkRnRWdlx/images/Security.png?fit=max\&auto=format\&n=SBPJP8xnkRnRWdlx\&q=85\&s=35e67c9b06459464aba53ece5b3869f9)

Access Control

## Next

> [card] [Custom domain](https://docs.streampixel.io/resources/dashboard/custom-domains.md)
>
> Serve the stream from your own domain instead of share.streampixel.io.

> [card] [Security hardening](https://docs.streampixel.io/resources/recipes/security-hardening.md)
>
> Full production checklist beyond the dashboard toggles.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.