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

# Access control overview

> Restrict playback for streams and assets with webhooks or JWTs.

Livepeer Studio lets you restrict who can watch streams and assets. Two options:

## Webhook-based

Set a webhook playback policy. When someone tries to play, Studio calls your URL with an access key and context. Return 2XX to allow, non-2XX to deny. See [Access control with webhooks](/v2/solutions/livepeer-studio/docs/access-control/webhooks.md).

## JWT-based

Set a JWT playback policy. Viewers must send a JWT signed with a key you create in Studio. You issue JWTs from your backend after validating the user. See [Access control with JWTs](/v2/solutions/livepeer-studio/docs/access-control/jwt.md).

Both enforce at playback: without a valid key or JWT, playback is denied.


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