- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2015 04:42 AM
Hi All,
I want to implement access control to attachments. While adding an attachment, I need an option to mark it as External Visible = true/false.
And only if "true" certain users with some role should be able to see and download the attachment included in a record.
Have seen thru basics of attachment on wiki but did not get a direction.
Any help is appreciated.
Thanks
Waseem
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2015 05:45 AM
Hi Waseem,
You could customise this by making modifications to the attachment ui page. Next to that you will need some modifications to the access control rules on the sys_attachment table.
You could make it similar to the encryption context for attachments. Or you could even use encryption contexts for attachments, since this will virtually do what you want based on roles (a role is linked to a encryption context).
Encryption Support - ServiceNow Wikihttp://wiki.servicenow.com/index.php?title=Encryption_Support#gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2015 05:45 AM
Hi Waseem,
You could customise this by making modifications to the attachment ui page. Next to that you will need some modifications to the access control rules on the sys_attachment table.
You could make it similar to the encryption context for attachments. Or you could even use encryption contexts for attachments, since this will virtually do what you want based on roles (a role is linked to a encryption context).
Encryption Support - ServiceNow Wikihttp://wiki.servicenow.com/index.php?title=Encryption_Support#gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2015 11:44 AM
Thanks Thijs!
The link you shared solved my problem. Also discovered impersonating does not help in testing as Encryption Context is set per session
Best Regards
Waseem

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2021 01:31 PM
About Attachment Encryption
- Is it always available? If not, what are the conditions to be available
- When does it make sense to use it?
- What is the difference between an encrypted and an unencrypted file in ServiceNow?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2021 01:32 PM
About Attachment Encryption
- Is it always available? If not, what are the conditions to be available
- When does it make sense to use it?
- What is the difference between an encrypted and an unencrypted file in ServiceNow?