From 3abd5abe122fb8c458d9655b9f83af5c4d8589c6 Mon Sep 17 00:00:00 2001 From: mertmit Date: Thu, 5 Oct 2023 10:13:54 +0530 Subject: [PATCH] docs: secure attachments Signed-off-by: mertmit --- .../020.getting-started/020.environment-variables.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/noco-docs/versioned_docs/version-0.109.7/020.getting-started/020.environment-variables.md b/packages/noco-docs/versioned_docs/version-0.109.7/020.getting-started/020.environment-variables.md index c8bd42596f..283210a2d6 100644 --- a/packages/noco-docs/versioned_docs/version-0.109.7/020.getting-started/020.environment-variables.md +++ b/packages/noco-docs/versioned_docs/version-0.109.7/020.getting-started/020.environment-variables.md @@ -61,4 +61,6 @@ For production usecases, it is **recommended** to configure | NODE_OPTIONS | For passing Node.js [options](https://nodejs.org/api/cli.html#node_optionsoptions) to instance | | | NC_MINIMAL_DBS | Create a new SQLite file for each project. All the db files are stored in `nc_minimal_dbs` folder in current working directory. (This option restricts project creation on external sources) | | | NC_DISABLE_AUDIT | Disable Audit Log | `false` | -| NC_AUTOMATION_LOG_LEVEL | Possible Values: `OFF`, `ERROR`, `ALL`. See [Webhooks](/developer-resources/webhooks#call-log) for details. | `OFF` | \ No newline at end of file +| NC_AUTOMATION_LOG_LEVEL | Possible Values: `OFF`, `ERROR`, `ALL`. See [Webhooks](/developer-resources/webhooks#call-log) for details. | `OFF` | +| NC_SECURE_ATTACHMENTS | Allow accessing attachments only through presigned urls. To enable secure set value as `true` any other value treated as false. (⚠ this will make existing links inaccessible ⚠) | `false` | +| NC_ATTACHMENT_EXPIRE_SECONDS | How many seconds before expiring presigned attachment urls. (Attachments will expire in at least set seconds and at most 10mins after set time) | 7200 (2 hours) | \ No newline at end of file