function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kanagaraj Arjunan 11Kanagaraj Arjunan 11 

How Encrypt a file using Platform Encryption

Hi All
We have enable Platform encryption in our organizations. It works with standard and the custom  fields. While coming to encrypting the files and attachment, files are displaying content even they are encrypted. How to encrypt the files using Platform Encryption
scottbcovertscottbcovert
Hi Kanagaraj,

Encryption with files and attachments works differently-anyone who has access to the file/attachment will be able to view it normally despite an encrypted version being saved to Salesforce's servers. This is different from the field level encryption that you mention; please see this post for more details:

https://developer.salesforce.com/forums/ForumsMain?id=906F00000005KhPIAU

Best,
Scott