OBLYTECH Logo
OBLYTECH Logo

ServiceNow Attachment Encryption: Setup, Jobs, Access Limits

Attachment encryption in ServiceNow limits who can open the files attached to a chosen table. Two mechanisms exist. Field Encryption Enterprise uses a cryptographic module with access policies, and Edge Encryption applies standard AES through the proxy. This guide covers both setups, the jobs for existing files, and the trade-offs.

Choosing between the two families

The two families differ in how keys and access are handled. Field Encryption Enterprise gives you a cryptographic module, which can use a ServiceNow-managed key or a customer-supplied one, plus access policies that decide which roles can open the files. Edge Encryption uses a standard AES type, and access depends on whether a session passes through the proxy. Starting with the Zurich release, ServiceNow is preparing Edge Encryption for future deprecation and describes Field Encryption and Field Encryption Enterprise as the current experience for this functionality.

Question Field Encryption Enterprise Edge Encryption
Configured in Field Encryption Experience, Encrypted Fields on the module record Edge Encryption Configuration
Key model Cryptographic module, ServiceNow or customer-supplied key Standard AES128 or AES256
Access decided by Module access policies naming a role Whether the session uses the proxy
Role needed Role required: sn_kmf.cryptographic_manager or sn_kmf.admin security_admin

Setting up Field Encryption Enterprise

Module-based attachment encryption requires the Field Encryption Enterprise feature, so confirm it is enabled first. Then work through these steps in order.

  1. Create the cryptographic module, using a ServiceNow or customer-supplied key.
  2. Create the encrypted field configuration for the table, with Type set to Attachment and Active left clear.
  3. Create the module access policy that names the roles to allow or block.
  4. Select Active once the policies are ready.
  5. Test the result with two users.

Create the encrypted field configuration

Open All > System Security > Field Encryption > Field Encryption Experience, select View module details for the module, then open Encrypted Fields and select Configure. Select Create new. The example uses Incident and sets Type to Attachment.

Field What to enter
Table The table holding the protected attachments
Type Attachment
Crypto module The module that performs the encryption
Encrypt by default When selected, records matching no row condition are encrypted with that module
Method Single Module, which uses one module for the configuration
Active Turns encryption on. Leave it clear until the policies are ready

Activation takes effect at once. The instance then encrypts new data in those attachments, and users cannot see that data without a module access policy. Create the policy first.

Create the module access policy

Go to Field Encryption Experience, then Configurations, then Access Policies, and select Create new. Choose the Field Encryption module and complete the form. For how ServiceNow access control lists work in general, see the access control list explainer.

Field What to enter
Policy name A descriptive name, such as attachment policy
Type Role
Result Strict Reject blocks the selected role. Track grants it access
Crypto module The module used to encrypt the key
Target Role The role the rule applies to, such as itil in the example
Specify purpose Optional. Shows the Crypto Spec field for finer control, such as letting some users encrypt but not decrypt
Active Enables the policy

Check the result with two users

Sign in as a user with module access, open an incident, and attach a file. The file appears in the Activities section. Then sign in as a user without access. The link to open the attachment is hidden from that user.

Setting up Edge Encryption

Edge Encryption requires the security_admin role. Open Edge Encryption Configuration, go to Edge Encryption Configurations, and select Create New. Choose the table, set Type to Attachment, and pick an encryption type. For attachments, the choices are Standard AES128 and Standard AES256. Order-preserving and equality-preserving types are not allowed. All attachments to a table use one encryption type.

Encrypting new and existing files

Once the record is saved, new attachments are encrypted as they are attached. Older files need an attachment encryption job. Open Encryption Configurations, select the table, and choose Schedule Mass Encryption Job from the related links. Set Job Type to Attachment Encryption, name the job, and set the Run period and Starting time. Estimate Record Count shows the expected number of records, and Execute Now runs the job at once.

A table attribute named edge_encryption_clear_attachment_allowed, set in the table’s Collection Dictionary entry, lets unencrypted attachments be added and encrypted. If you enable it, schedule an attachment encryption job to pick up those files.

Returning attachments to clear storage

Clear the Active box on the encryption record first. A decryption job does nothing while the record stays active. Then schedule a Mass Attachment Decryption Job from the table’s related links, with Job Type set to Attachment Decryption.

Child tables and user uploads

Attachment encryption does not extend to child tables. Attachments on incident, case or problem records stay unencrypted unless each table has its own configuration.

Users attach encrypted files through the Manage Attachments paperclip on a record. The Attachments window then offers an Encrypt with Module drop-down. That drop-down is hidden when the configuration uses row conditions, because the row condition picks the module. It also does not appear when a file is dragged onto the form.

Encrypted files show a lock icon at the top of the form. Users without module access do not see them listed.

Email attachments and Column Level Encryption

Column Level Encryption also covers attachments that arrive by email, provided it is configured on the instance. When an inbound email carries attachments and the target table is Column Level Encryption enabled, the attachments are encrypted on the target record. If the external sender lacks access to that table, the attachments go to the email record and the email logs instead of the incident or case. For how inbound mail is processed in general, see inbound email actions explained.

Outbound email from a workspace works differently. Encrypted attachments are decrypted before sending, so recipients can open them. To block encrypted attachments from going out by email, create a system property named glide.attachment.restrict_cle_attachments and set it to true. The default is false. For the general setup of outgoing mail, see notifications and email handling.

Search and indexing for encrypted files

Under Edge Encryption, encrypted attachments are not searched when a user runs a text search. Weigh that before you encrypt a table that depends on search.

Attachment indexing lets text searches match text inside files. The Knowledge Base has it on by default. For other tables, add an Attachment index attribute with the value true to the table’s text index configuration, then generate the text index. The attribute does not cascade to child tables. On large tables such as Task, the reindex can take several hours and slow the system, so run it in a quiet period. For general guidance on keeping the platform responsive during heavy jobs, see the platform performance guides.

Mobile access for external users

Users with the snc_external role cannot reach resources in the mobile app unless an administrator enables them. The mobile property allow_snc_external_attachment_access controls attachment access for users assigned the snc_external role. Set it to True to allow viewing, uploading and downloading in activity streams, on input form screens (Rome and later), on details screens with the attachment list, and in offline mode. The legacy parameter screen applies to Quebec and earlier.

The property is off until you create it in the Mobile Properties list in sys_sg_properties. The record name is case-sensitive. Choose True/False as the type, set the value, and mark the record Active. For the wider mobile setup, see the mobile experience guides.

In the Brazil release, setting AsyncAttachmentsUploadEnabled to true turns on background uploads on input form and activity stream screens.

Auditing attachment access

Attachment metadata lives in the sys_attachment table, and file data sits in sys_attachment_doc in 4 KB chunks. The platform raises attachment.read when a file is opened or downloaded. That event stores the file name in parm1 and the table name in parm2, which helps you trace who read sensitive files. For reading and writing attachments from server code, see attachment and stream APIs in server scripts. Upload, delete and rename events are raised too.

Which attachments, emails, integrations and exports must a contractor review before controlled defense information goes into a ServiceNow record?

Before covered defense information enters a ServiceNow record, review every path that can carry it in or out: ticket text, attachments, inbound email, integrations and exports. Include copies such as clones, screenshots and pasted text. Confirm first that the instance’s authorized boundary covers this data, and that everyone who can reach it is in scope.

Settle the deployment boundary before reviewing records

As of November 2026, DFARS 252.204-7012 requires FedRAMP Moderate-equivalent security and additional incident-response obligations for covered defense information handled by an external cloud provider. A generic commercial instance is not automatically acceptable. Government Community Cloud is one offering to evaluate, and its authorized boundary must be confirmed in writing.

Review ticket text and attachments as one surface

Attachments get the most attention, but work notes, comments and knowledge articles can carry the substance of a controlled document as pasted text. Encryption answers who can open a file, not whether the instance may hold it at all.

Check inbound and outbound email paths

List the mailboxes and inbound actions that create or update records, and who may send to them. Treat any email record that can hold inbound attachments as in scope for the same review as its target table.

Outbound mail needs its own check. Confirm with the platform owner whether encrypted attachments can leave the instance by email from a workspace, and who may change that setting.

Review each integration as a data path

Treat each integration as a standing copy route. Record which fields and attachments it reads and writes back, where any MID Server stores payloads, and whether its logs hold record text.

Review exports and clones

Data exports, export sets and report downloads need the same scrutiny as the records they came from. Cloning swaps the target’s data for the source’s, and exclusions, preservers and cleanup scripts decide what survives. Without those settings defined and tested beforehand, a nonproduction copy can receive controlled records that the target environment was never scoped to hold.

Confirm who can read plaintext

Module access policies answer whether a named role can open an encrypted attachment. They do not answer who can obtain plaintext through support, administration or integration accounts. Review administrators, privileged support staff and the service accounts integrations run under. For export-controlled technical data, also confirm who can decrypt it and which authorization applies. FedRAMP status alone does not answer these questions.

Questions to put to the provider in writing

  • The authorized service boundary, the offering name, and whether your planned services fall inside it
  • The customer responsibility matrix for the controls that apply to covered data
  • Which support roles can see decrypted record content, and what approval they need

Frequently asked questions

Does module-based attachment encryption need Field Encryption Enterprise?

Yes. Field Encryption Enterprise is required for attachment encryption through a module. Edge Encryption is a separate configuration that uses a standard AES type.

Are encrypted attachments searchable?

Under Edge Encryption, encrypted attachments are excluded from text search, so weigh that before you encrypt a table that depends on search.

Does a child table inherit the setting?

No. Each table needs its own configuration, such as incident, case or problem.

What does a user without module access see?

The attachment link is hidden from them. Under Edge Encryption, a user who bypasses the proxy can see attachment names on an encrypted record but cannot add new attachments.

For related instance security controls, see the instance security and access control hub.