Upload attachments for encryption
Protect sensitive files by encrypting record attachments using Field Encryption and Row Conditions.
Before you begin
Procedure
Result
Attached files display at the top of the form. Encrypted attachments are denoted by a lock icon. Only users with the encryption module to view encrypted files will see them listed.
What to do next
Encrypted attachments and missing metadata
When you encrypt an attachment, the hash and state fields on the sys_attachment record aren't populated. This is by design.
The hash field stores a SHA-256 fingerprint of an attachment's content. Even though a file is encrypted, a hash is a deterministic and stable identifier. The same file produces the same hash value every time. Storing the hash would enable an attacker who has a copy of the file to confirm that it exists in your system and can weaken encryption.
Because of this, duplicate detection doesn't work for encrypted attachments, since ServiceNow uses the hash field to prevent identical attachments from being added to a record.