Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1dcc3f4

Browse files
committed
add disable path-based app section
1 parent 9cbe02e commit 1dcc3f4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/tutorials/best-practices/security-best-practices.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,19 @@ logs (which have `msg: audit_log`) and retain them for a minimum of two years
6666
If a security incident with Coder does occur, audit logs are invaluable in
6767
determining the nature and scope of the impact.
6868

69+
### Disable path-based apps
70+
71+
By default, path-based apps are enabled in Coder to make demos and trials easier for new users.
72+
73+
In production deployments, however, path-based apps reduce security significantly as it allows user workspace apps to be hosted on the same domain as other apps and the Coder API itself in the default region.
74+
75+
We recommend turning off path-based apps after you have configured and enabled subdomain apps via a wildcard DNS entry.
76+
77+
The impact of having path-based apps enabled is mitigated by default, 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:
78+
79+
- Path-based apps cannot be shared with other users without a special flag `--dangerous-allow-path-app-sharing`
80+
- Users with the site "owner" role cannot use their admin privileges to access path-based apps for workspace they do not own without a special flag `--dangerous-allow-path-app-site-owner-access`
81+
6982
## PostgreSQL
7083

7184
PostgreSQL is the persistent datastore underlying the entire Coder deployment.

0 commit comments

Comments
 (0)