Document the security model
Only admins can use the app, so who gets admin rights decides who can use it. The database should run as a scoped user without superuser or server file/program rights, since the SQL checks are an extra layer. Explain why sensitive occ commands are not blocked: an admin can reach the same information in other ways, so a blocklist would only give a false sense of security and make the app less useful.
This commit is contained in:
@@ -93,3 +93,6 @@ rather than reacting after the fact.
|
||||
|
||||
Type `sql` in the OCCWeb terminal to run raw SQL directly against the Nextcloud
|
||||
database. Separate statements with `;`, use Shift+Enter for a new line and Enter to run.
|
||||
|
||||
Before giving anyone access, read the Security section in the README: only
|
||||
admins can use the app, and the database user should have limited rights.
|
||||
|
||||
Reference in New Issue
Block a user