You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/best-practices/security-best-practices.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,19 @@ logs (which have `msg: audit_log`) and retain them for a minimum of two years
66
66
If a security incident with Coder does occur, audit logs are invaluable in
67
67
determining the nature and scope of the impact.
68
68
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
+
69
82
##PostgreSQL
70
83
71
84
PostgreSQL is the persistent datastore underlying the entire Coder deployment.