Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: add section about how to disable path based apps to security best practices#18419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
EdwardAngert merged 9 commits intomainfromdisable-path-based-apps
Jul 1, 2025
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
suggestions from review
  • Loading branch information
@EdwardAngert
EdwardAngert committedJun 18, 2025
commitd2bb9f32643b2f1435ec1f6d920d805e85137c58
2 changes: 1 addition & 1 deletiondocs/admin/setup/index.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -60,7 +60,7 @@ If you are providing TLS certificates directly to the Coder server, either
options (these both take a comma separated list of files; list certificates
and their respective keys in the same order).

After you enablea wildcardsub-domain,[disable path-based apps](../../tutorials/best-practices/security-best-practices.md#disable-path-based-apps).
After you enablethe wildcardaccess URL, you should[disable path-based apps](../../tutorials/best-practices/security-best-practices.md#disable-path-based-apps) for security.

## TLS & Reverse Proxy

Expand Down
8 changes: 4 additions & 4 deletionsdocs/tutorials/best-practices/security-best-practices.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -68,10 +68,10 @@ determining the nature and scope of the impact.

### Disable path-based apps

For production deployments, disable path-based apps.
For production deployments,we recommend that youdisable path-based apps after you've configured a wildcard access URL.

Path-based apps share the same origin as the Coder API.
This setup is convenient for demos,but can expose the deployment to cross-site-scripting (XSS) attacks in production.
Path-based apps share the same origin as the Coder API, which can be convenient for trialing Coder,
but can expose the deployment to cross-site-scripting (XSS) attacks in production.
A malicious workspace could reuse Coder cookies to call the API or interact with other workspaces owned by the same user.

1. [Enable sub-domain apps with a wildcard DNS record](../../admin/setup/index.md#wildcard-access-url) (like `*.coder.example.com`)
Expand All@@ -86,7 +86,7 @@ A malicious workspace could reuse Coder cookies to call the API or interact with

By default, Coder mitigates the impact of having path-based apps enabled, but we still recommend disabling it to prevent malicious workspaces accessing other workspaces owned by the same user or performing requests against the Coder API.

If you do keep path-based apps enabled, Coder limits the risk:
If you do keep path-based apps enabled:

- Path-based apps cannot be shared with other users unless you start the Coder server with `--dangerous-allow-path-app-sharing`.
- Users with the site `owner` role cannot use their admin privileges to access path-based apps for workspace unless the server is started with `--dangerous-allow-path-app-site-owner-access`.
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp