BusinessSecuritySettings Object
Contains information about the security settings for a business.
This object is used by the following operations:
- PUT /api/businesses/{BusinessID}/securitysettings
- GET /api/businesses/{BusinessID}/securitysettings
- Operations that reference the BusinessSettings object
The properties included in the BusinessSecuritySettings object are listed below. All values are optional.
Property | Type | Description |
---|---|---|
ReadRequestCSRFSupport | String |
Indicates whether CSRF validation is enabled for GET operations. Defaults to com.soa.feature.disabled. To turn on CSRF validation, set to com.soa.feature.enabled. For more information, see CSRF Prevention on the Platform. |
WriteRequestCSRFSupport | String |
Indicates whether CSRF validation is enabled for POST, PUT, and DELETE operations. Defaults to com.soa.feature.enabled. To turn off CSRF validation, set to com.soa.feature.disabled. For more information, see CSRF Prevention on the Platform. |
AllowUserEnum | String |
Indicates whether the stricter security settings are in place to help prevent enumeration of users. If AllowUserEnum is enabled, which is the default, the less strict behavior is in effect. If this value is set to com.soa.feature.disabled, the enhanced security behavior is activated. For more information on the effects of this setting, refer to the Site Admin user help, How can I protect from vulnerability in Signup and Forgot Password scenarios? on the SOA documentation site. |
EncryptChallengeAnswers | String | Indicates whether the answers to the user profile challenge questions are encrypted in the database. Default: disabled. To encrypt the answers to user challenge questions, set to com.soa.feature.enabled. |
ChallengeCount | Integer | Indicates the number of challenge questions the user must answer when signing up for the platform. |
UserModifyEmail | String |
Indicates whether a platform user can modify the email address associated with his/her account. Valid values:
|
SiteAdminModifyEmail | String |
Indicates whether a Site Admin can initiate user email address update associated with another user's account. Valid values:
The behavior is a little different for platform accounts/third-party accounts:
|
CaptchaSupport | String |
Indicates whether CAPTCHA support is being used. If CAPTCHA support is enabled, CaptchaSiteKey and CaptchaSiteKey values are required. The feature supports Google reCAPTCHA, reCAPTCHA v2, for validation of users by means of the I am not a robot checkbox. |
CaptchaSiteKey | String |
The unique key for the account being used for CAPTCHA functionality on the Community Manager developer portal. Required in request if CaptchaSupport is enabled. |
CaptchaSiteSecret | String |
The site secret value for the account being used for CAPTCHA functionality on the Community Manager developer portal. Required in request if CaptchaSupport is enabled. Not returned in responses. |
AuthTokenCookieDomain Valid in Version: 2019.1.35 and later |
String |
Contains information about the value to be set for the Community Manager developer portal cookies, for the Domain attribute, which can limit the domains for which the cookie can be valid. Applies to both the login cookie (authentication cookie) and the CSRF cookie. Options:
|
AuthTokenCookieSameSite Valid in Version: 2019.1.35 and later |
String |
Contains information about the value to be set for the Community Manager developer portal cookies, for the SameSite attribute, which can limit the scope of the cookie so that it will only be valid for same-site requests. Applies to both the login cookie (authentication cookie) and the CSRF cookie. Options:
|
ExternalDocSupport | String | Indicates whether users can view external webpages if they are referenced in platform content pages. Default: disabled. |
XssKeywords | String |
A comma-delimited list of keywords that are disallowed in certain input fields, such as app, API, and group Name, Summary, and Description fields and forum discussions and tickets, to help prevent cross-site scripting (XSS) attacks. Defaults: onload,onerror,onmouseout,onmouseover,eval You can add additional keywords, or you can remove one or more of the existing defaults (PUT operation only). |
AllowedFileTypes Valid in version: 2019.1.0 |
String |
Allows the Site Admin to restrict the types of files users can upload. Default (*) allows any valid media type. Separator can be comma, space, or both. Examples:
|
WhiteListKeywordsSupport / WhiteListKeywords Valid in version: 2019.1.11 |
String |
Indicates whether an allowlist is enforced. A comma-delimited list of keywords that are disallowed in certain input fields, such as app, API, and group Name, Summary, and Description fields and forum discussions and tickets, to help prevent cross-site scripting (XSS) attacks.
If WhiteListKeywordsSupport is enabled, only characters on the allowlist are accepted in certain input fields, such as app and API Name, Summary, and Description, for cross-site scripting prevention. You can also define a list of additional characters that are allowed, in addition to platform defaults, when the allowlist is enforced. Default characters allowed are:
Specify additional characters, without spaces. Example: ()/ allows these three characters in addition to the defaults. Default value:
|
AllowedFileTypesStrictPolicy Valid in version: 2020.1.2 and later |
String |
Only applicable if the AllowedFileTypes setting is enabled. Optional security feature to apply stricter rules for limiting file types. With strict policy enabled, only the exact specified media types are allowed. If this setting is disabled, supertypes of the allowed file types are allowed. For example, if text/plain is allowed, then html, application/json, and other text-based media types are allowed. |