> For the complete documentation index, see [llms.txt](https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.com/docs/help-center/published-documentation/adaptive-content/can-i-publish-a-site-with-only-some-content-requiring-authentication.md).

# Can I publish a site with only  some content requiring authentication?

Yes! You can have a public site with some authenticated sections using Adaptive Content without requiring login for the entire site.

**Recommended Approach:**

1. Keep your site audience as Public, Unlisted or Share link
2. Enable Adaptive content in site settings
3. Use **signed cookies** to pass user claims after they log in to your main application
4. Set conditions on specific pages/sections to show only for authenticated users

See our [signed cookie documentation](https://gitbook.com/docs/publishing-documentation/adaptive-content/enabling-adaptive-content/cookies#signed-cookie) for implementation details.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.com/docs/help-center/published-documentation/adaptive-content/can-i-publish-a-site-with-only-some-content-requiring-authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
