The Security page is meant to:
These features can be used independently.
In certain complex OSLC Architectures, OSLC Applications are hosted on different domains such as example.com and example.cloud. This introduces a security challenge when working with OSLC, which requires cross-site authentication. This is known as Cross-Site Request Forgery, or CSRF / XSRF. CSRF can be mitigated at two levels. First in the API through appropriate development practices, which we thrive to follow. Then in the browser, by restricting cross-site authentication through limiting cookie sharing practices. This is also known as "SameSite cookies".
For certain applications, such practice may just be to "share all my application's cookies". In ${local-app}, the decision was made to open only what was absolutely required to allow for OSLC interactions. And to open only when the request is from a Whitelisted server.
By enabling Sharing cookies, you allow ${local-app}
to share the specific cookies listed under Shared cookies, only when
authentication happens from a Whitelisted server.
To avoid any performance impact, this has been configured to only happen at specific authentication points. As a consequence, when your application is configured to leverage non-default authentication, or a custom login page, there is a possibility that the default configuration is not sufficient to enable the feature. In that case, you are recommended to enable the additional configuration toggle regarding advanced login solutions.
In even more complex Architectures, e.g. with Single-Sign-On implementations, default
Shared cookies might not be enough. In that case, you may set specific
cookies through the Shared cookies list:
Add button.If everything went OK, your cookie will now be listed in the
Sharing cookies table. You will need to logout then log in again for this
new setting to be fully effective in your current session.
When your OSLC Architecture changes, you might want to unlist one or more cookies from the
Shared cookies list.
OK button in the confirmation
dialog.If everything went OK, the chosen shared cookie will no longer appear on
the Sharing cookies table. You will need to logout then log in again for this
new setting to be fully effective in your current session.
When considering communication between servers, you can choose to restrict which servers you allow including content from.
By enabling Outgoing, all pages allowing to create a link
will be appended the child-src CSP directive.
That directive will be set to allow all Friend servers.
Since your application may include content from more than just OSLC remote applications, you should only consider enabling this if no other plugins are including external content inside iframes.
When considering communication between servers, you can choose to restrict which servers are allowed to include your OSLC content.
By enabling Incoming, all OSLC delegated content (dialogs, previews) requests
will be appended the frame-ancestors CSP directive.
This directive will be set to allow only whitelisted servers.
If other plugins are displaying your data in third-party applications, you may need to add those servers to the Whitelist.
When restricting incoming communications, you are always restricting to the whitelisted servers. The whitelist is the addition of two sets of servers:
Include friends to the whitelist setting is enabled, the server is considering all existing friends as
a whitelisted server. It is enabled by default.Add button.OK button in the confirmation
dialog.
By default, the Validating SSL Certificate Chain setting is enabled, meaning that certificates not signed by a publicly trusted certificate authority will be automatically rejected.
You may disable this option if your instance needs to communicate with a server using a self-signed certificate. That should be reserved to staging environments and remain temporary.