Configuring security options
- Ticket details (for example, when adding an attachment to the Description field on incidents, work orders, problem investigations, and known errors)
- Asset profiles (for example, profile images)
- People profiles (for example, profile images)
- Activity feed
- Broadcasts
- Change request documents
- Knowledge articles
By default, the Attachment Security settings are blank, which allows all attachment types. For more information about these settings, see Restricting users from uploading and viewing files with specific extensions.
To restrict attachment file types in Smart IT, perform the following steps:
- Log in to Smart IT as an administrator.
- Open the AR System Administration Console, and select System > General > Server Information.
The AR System Administration: Server Information form appears. - On the Server Information form, click the Attachment Security tab.
- From the Attachment Criteria list, select an option to allow or disallow attachments with specific file extensions.
- In the Comma separated list of limit extensions field, enter a comma-separated list of file extensions such as exe,com.
- Click Apply.
- Clear the Smart IT cache.
To update the content security policy
Smart IT uses a content security policy (CSP) to determine which type of resources are allowed to be loaded in the application UI. The CSP is a set of properties stored in Centralized configuration. Use of a CSP reduces the risk of cross-site scripting (XSS) attacks. You can use AR System Configuration component setting to set or modify the CSP properties. For example, the CSP defines the source domains that are valid for loading scripts and objects. Smart IT supports the connect-src, object-src, script-src, img-src, and media-src directives, which are described in the Content Security Policy (CSP) Quick Reference Guide at http://content-security-policy.com/.
Based on the requirements of your organization, you can add your own directives to the CSP. For example, you might want to allow users to add images from external sources to knowledge articles. To do so, you must add a new property to the Centralized configuration in the following format:
Property Name | Property Value |
---|---|
smartItCsp_directive-name_number | http://company.domain.com http://company.domain2.net |
Where directive-name is the name of a supported CSP directive (such as object-src), and number is a whole number identifier for your customer property, such as 1. For example:
For the property value, include a space-separated list of allowed sources, up to a total of 255 characters. For example:
http://company.domain.com http://company.domain2.net http://company.domain3.org
If the list of allowed sources exceeds 255 characters, you can create additional properties for the same directive as needed. For example:
- smartItCsp_ object-src_1
- smartItCsp_ object-src_2
- smartItCsp_ object-src_3
To configure source editing for knowledge articles
By default, the Source button is disabled when users create or update knowledge articles, and users cannot edit the source code. If you want to enable source editing, open the isCKEditorSourceEditable property in the Centralized configuration form and change its value from false to true.
To allow preview of PDF document when CSP is applied
- Open Form AR System Configuration Component Setting from Mid Tier.
- Search for property with SettingName > smartItCsp_. You will see smartItCsp_object-src_.
- In the Setting value, enter blob.
- Click Save.
- Restart Smart IT server or wait for 30 minutes for the settings to take effect.
To enable Strict-Transport-Security response header
You can enable Strict-Transport-Security response header for Smart IT. For example, by using the Strict-Transport-Security parameter, you can restrict the browsers to access Smart IT by using HTTPS only and not HTTP. For more information, see Setting-configuration-parameters-in-BMC-Helix-ITSM.