mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
allow_sql config option to disable custom SQL, closes #284
This commit is contained in:
parent
50920cfe3d
commit
f722b0a730
7 changed files with 53 additions and 7 deletions
|
|
@ -85,3 +85,10 @@ allow_download
|
|||
Should users be able to download the original SQLite database using a link on the database index page? This is turned on by default - to disable database downloads, use the following::
|
||||
|
||||
datasette mydatabase.db --config allow_download:off
|
||||
|
||||
allow_sql
|
||||
---------
|
||||
|
||||
Enable/disable the ability for users to run custom SQL directly against a database. To disable this feature, run::
|
||||
|
||||
datasette mydatabase.db --config allow_sql:off
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue