Blocking attachments in webmail

A task has arisen:

  • Block sending files in webmail of popular email services, yandex\mail\google\rambler.

To do this, you need to add a rule in the Global configuration - “Blocking - Sites”, the following list of URLs:

api/v1/messages/attaches/add
mail.rambler.ru/upload
web-api/upload-attachment
mail.google.com/_/upload

This will block the ability to send files to popular email services. Using the same example, you can block other file and domain sharing services to prevent attempts to upload information from the local network to the Internet.

Note

If you do not want to block sending attachments for all users at once, then these exceptions must be made on the settings page of the corresponding user configuration in the section “Internet - Rules: Blocking - Sites