The CreatorCon Call for Content is officially open! Get started here.

Forced encryption on attachments

Kim Sullivan
Tera Guru
 

Since upgrade to Utah, all our attachments are being encrypted.  In Tokyo and before there was a checkbox here to choose to encrypt.  That is now gone and none is not the default option.

ServiceNow support says this is OOB, but I can't believe this was intended. 

2023-07-20_8-49-50.png

#encryption

#crypto

#attachments

1 ACCEPTED SOLUTION

Kim Sullivan
Tera Guru

HI told me to post on community and this was an OOB setting.  I spent another 3 hours on it and figured this out -- 

update the optional_attachment_encrypt UI macro.

OOB config:

OOB.png

 

Updated: 

Updated.png

 

You also need to comment out these lines:

KimSullivan_0-1690491092953.png

 

View solution in original post

24 REPLIES 24

Kim Sullivan
Tera Guru

HI told me to post on community and this was an OOB setting.  I spent another 3 hours on it and figured this out -- 

update the optional_attachment_encrypt UI macro.

OOB config:

OOB.png

 

Updated: 

Updated.png

 

You also need to comment out these lines:

KimSullivan_0-1690491092953.png

 

I was looking for something like this and tried your solution, it worked and it defaults "None" but still it selects the encryption by default when the "Attachment" pop-up loads.
Even if we provide selected="Selected" it still goes for encryption. The only way is to select "None" and choose the attachment.

Can you post your optional_attachment_encrypt UI macro for me to review? Also, please make sure you have updated the system property per Todd's post below.

 system property 'com.glide.encryption.enable_attachment_key_ui' = false , hides the entire dropdown itself and adding an attachment with no option selected again encrypts the file.
Attached file for your review.