How to restrict file attachments from email sending
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello, community.
I have enabled glide.email.smtp.active and enabled sending emails from the instance.
However, for security reasons, I would like to completely restrict file attachments to the instance and emails.
The two methods I know of are as follows.
I would like to hear your opinions on whether these methods are effective and whether there are any risks involved.
- File extension control: You can allow only file attachments with specific extensions.
 https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1588025
 However, complete restrictions are not possible.
- File size control: In the System Properties > Security screen, set the maximum file size that can be attached to "0".
 I think This one may work.
If you have any other ideas, please let me know.
Thank you for your cooperation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You could try creating a 'before' insert buiness rule on the Email (sys_email) table to remove and deleted any attachment before he it saved on the record and processed. You'll want to limit it to the inbox/received mailbox to prevent outgoing emails from having their attachments removed.
