> For the complete documentation index, see [llms.txt](https://community-test.logicnets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community-test.logicnets.com/release-9/platform-documentation/system-administration/system-settings/system-configuration-security-tab.md).

# System Configuration Security Tab

## Description

The table below identifies the settings found on the *Security* tab in the *System Configuration* package. Changing these settings arbitrarily can have important ramifications on the running of your application, so we recommend that you do not make changes before you discuss them with LogicNets Support.

## Parameters

| Field                                                                     | Options                                                              | Details                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Logicnet visibility<br>(default: internal)</p>                         | <p>- public<br>- internal<br>- private</p>                           | <p>This determines the default visibility of all new logicnets created in the system, and you can make any specific logicnet more or less visible by going to the logicnet <em>Details</em> tab.<br>- public: This allows direct external access by the browser (e.g. via openlnet call).<br>- internal: This allows access by any logicnet call node.<br>- private: This allows access only from call nodes in the same project, package, or framework.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <p>Web-security level<br>(default: safe)</p>                              | <p>- default (safe)<br>- strict<br>- safe<br>- develop<br>- none</p> | <p>The web-security level dictates the treatment of web functions, print functions, and logging, specified in the table below:<br><img src="https://2802811211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdFhfexCjZ5JMhwGzzywq%2Fuploads%2Fgit-blob-29f4180ea77e74fd16acc2f7e04fc105e311c495%2Fc1497f74-0c44-4b4f-b9a0-4d67a28dce52.jpg?alt=media" alt=""><br>In LogicNets releases prior to 7.4 the default web-security level is "develop".</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Entropy (default 16)                                                      | Integer                                                              | <p>This is the number of random bytes the system should use for the session ID and session file name.<br>When the entropy is low the session id and session pin id are less unique, and they are easier to compromise. Entropy that is too high slows down the system, since generating such ids is time consuming.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p>Enforce HTTPS<br>(default: Yes)</p>                                    | <p>- Default<br>- No<br>- Yes</p>                                    | LogicNets recommends that you enforce HTTPS. If enabled, the system redirects an incoming HTTP request to an HTTPS request. You should only disable this if you specifically require HTTP.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Disable session pinning (default: Yes)                                    | <p>- Default<br>- No<br>- Yes</p>                                    | To avoid sessions being stolen or taken over, the LogicNets runtime engine uses session pinning. Note: Session pinning only works with HTTPS.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Security cookies 'samesite' attribute (default: Lax)                      | <p>- Default<br>- None<br>- Lax<br>- None; Partitioned</p>           | <p>LogicNets uses cookies to work properly. With the samesite cookie setting, a web server tells the browser when a cookie will be sent to the server and when it will not be sent. Until 2020, most browsers used 'lax' as default when no samesite attribute was set. Since 2020, this has been changed to 'strict'. Most LogicNets applications will work properly with the default ('lax').<br>If an application is embedded in an iFrame that runs in a different domain, set the option to 'None'.<br>For more general information, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite"><https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite></a>).</p>                                                                                                                                                                                                                                                                                                                                                             |
| X-Frame-Options (default: Same origin)                                    | <p>- Default<br>- Same origin<br>- Deny<br>- Allow all</p>           | <p>Use the X-Frame-Options HTTP response header to indicate whether or not a browser should be allowed to render a page/application from this instance in a , , \<embed> or \<object>. This allows you to avoid click hijacking attacks by ensuring that your content is not embedded into other sites.\<br>For more information, see the following:\<br>- <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options><br>- <a href="https://developer.mozilla.org/en-US/docs/Web/Security/Types_of_attacks#click-jacking"><https://developer.mozilla.org/en-US/docs/Web/Security/Types_of_attacks#click-jacking></a></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Access-Control-Allow-Origin                                               |                                                                      | <p>The <em>Access-Control-Allow-Origin</em> header is included in the response from one website to a request originating from another website, and it identifies the permitted origin of the request. A web browser compares the Access-Control-Allow-Origin with the requesting website's origin and permits access to the response if they match. This tells the browser whether it is allowed to access resources in your applications, such JS, web APIs, and images, from other websites.<br>For more information, see<br><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin"><https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin></a><br>Defaults to: \*</p>                                                                                                                                                                                                                                                                                                                                           |
| Access-Control-Allow-Headers                                              |                                                                      | <p>The <em>Access-Control-Allow-Headers</em> response header is used in response to a preflight request, which includes the Access-Control-Request-Headers to indicate which HTTP headers can be used during the actual request. This information can be used by the client or browser to know which headers can be consumed safely. Passing data via other headers may result in exposing to the server sensitive information that is not processed correctly or safely. This could be inadvertently logged or stored in an insecure location.<br>For more information see:<br>- <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers"><https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers></a><br>- <a href="https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request"><https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request></a><br>Defaults to: <em>content-type, authorization, x-requested-with, ln-auc-contract-number, ln-auc-contract-consumer</em></p>                   |
| <p>Content Security Policy (CSP)<br>(v8.3+)</p>                           |                                                                      | See the specific article on Content Security Policy [here](/release-9/platform-documentation/system-administration/system-settings/content-security-policy.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Permission-Policy                                                         |                                                                      | More information coming soon.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Non-approved redirect-uris mode (default: block)                          | <p>- Default<br>- Block<br>- Log only</p>                            | <p>This mode specifies how the system handles URIs that are not approved/whitelisted.<br>- "log only": When you use a URL that is not whitelisted and the user follows the redirect, the system logs the error "Illegal redirect uri specified" but continues with the redirect.<br>- "block" (default): When you use an external URL that is not approved and the user follows the redirect, the system logs an error and shows the user an error message, such as "the specified redirect\_uri is not whitelisted". The system will not follow the redirect.<br>Note: prior to v8.4 default behavior was "log only"</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Approved redirect-uris                                                    | Redirect URI Description Created by                                  | <p>This mode specifies that all URIs listed here are whitelisted, and the Redirect URL column can contain the following:<br>- A full URL: e.g. <a href="https://sub.mydomain.com/folder/page.html"><em><https://sub.mydomain.com/folder/page.html></em></a>, only this page is whitelisted.<br>- A part of an URL: e.g. <a href="https://sub.mydomain.com/folder"><em><https://sub.mydomain.com/folder></em></a>, all pages with this folders and its sub-folders are whitelisted.<br>- Or only a host name: e.g. <a href="https://sub.mydomain.com/"><em><https://sub.mydomain.com></em></a>, all pages with this hostname are whitelisted; if the schema (in this case "https\://") is omitted a https schema is assumed.<br>You can use wild cards in the host name; for example, to whitelist all sub-domains you can use the following URI: <em>https\://\*.mydomain.com</em>. For security reasons it is better to use full URLs as much as possible.<br>The <em>description</em> and <em>created by</em> fields are not mandatory and you can use them for your own information.</p> |
| Whitelisted directories                                                   | One directory per input box                                          | These fields allow you to list the folder and files that parts in your application can access on your server. For additional information, see [Whitelisting Directories](/release-9/platform-documentation/system-administration/security/whitelisting-directories.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p>Use OS Certificate Store<br>(default: 1)</p>                           | <p>- Default<br>- Yes (1)<br>- No (0)</p>                            | <p>Outbound web API calls can use HTTPS. HTTPS itself encrypts the connection, and it can also verify the hostname.<br>To do this properly the remote certificate needs to be checked against a root CA certificate. These root certificates can be installed manually, but you can also use the Windows Certificate store. For more information, see <a href="/release-9/platform-documentation/system-administration/security/certificate-verification.md">Certificate Verification</a>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **Outbound Webservice Security**                                          |                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <p>Non-approved Outbound Webservice mode<br>(default: block)<br>v8.1+</p> | <p>- Default<br>- Block<br>- Log only</p>                            | With LogicNets v8.1+, by default, this mode blocks or logs all outbound webservice calls except those whitelisted in the next configuration option. For more information about web services review the [call webservice](/release-9/platform-documentation/process-node-parts/call-a-generic-webservice.md) article, which includes a link to a demo project.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| <p>Approved Outbound Webservice-URIs<br>v8.1+</p>                         |                                                                      | <p>Enter URIs here that are approved for outbound webservice calls. Check the box to also allow passing of user profile access tokens.<br>You can enter a description for each URL as a reminder of use/requirement, and the system logs all entries by user for audit purposes.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://community-test.logicnets.com/release-9/platform-documentation/system-administration/system-settings/system-configuration-security-tab.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
