How to Enable Gmail Protection From Attachments With Scripts in Google Workspace

Quick and easy-to-follow guide for Google Workspace administrators

Enable this security setting to protect all users in your Google Workspace from attachments with dangerous scripts designed to harm your company’s devices and data.

How to enable Google Workspace protection from attachments with scripts step-by-step with images

Step 1

How To Enable Gmail Protection From Attachments With Scripts In Google Workspace - Step 1

In the Admin console at https://admin.google.com, click the Apps icon.

Step 2

How To Enable Gmail Protection From Attachments With Scripts In Google Workspace - Step 2

Select Google Workspace.

Step 3

How To Enable Gmail Protection From Attachments With Scripts In Google Workspace - Step 3

Click Gmail. Make sure not to check the box to the left; just click the service.

Step 4

How To Enable Gmail Protection From Attachments With Scripts In Google Workspace - Step 4

Select Safety.

Step 5

How To Enable Gmail Protection From Attachments With Scripts In Google Workspace - Step 5

Click Attachments.

Step 6

How To Enable Gmail Protection From Attachments With Scripts In Google Workspace - Step 6

Check Protect against attachments with scripts from untrusted senders.

Under Choose an action, decide what to do with emails caught by this rule:

  • ​Keep email in inbox and show warning (default)
  • Move email to spam
  • Quarantine


If you select Quarantine, click Choose a quarantine to select a quarantine to use for this. See how to create and access quarantines here.

After updating, click SAVE at the bottom. Changes may require up to 24 hours to take effect.

That's all! You reached the end of the article. Continue to:

If you find this useful, share and help others!

Email
Reddit
Facebook
Telegram
Twitter
LinkedIn
Pinterest
Protect And Secure Google Workspace
Protect your data and maximize security
Data protection and security tools are crucial, especially if you store any sensitive data in your accounts.
Email Marketing Tools
Better Gmail and email marketing
If you work with Gmail or do email marketing, you will appreciate what these services can do for you.
Collab And Optimization Tools
Process optimization and collaboration
You can use these services to make tedious processes a whole lot easier, improve teamwork, save time, and get better results.
Website Tools and Resources
Resources for website creators
Awesome tools and services for easy and effective site building, content creation, SEO, email marketing, and more.

Submit Feedback

Think we could do something better or just want to tell us how happy you are with the site? We would love to hear from you – your feedback is more valuable than you can imagine.

Fill out this form, and we will get back to you.

Report An Issue With Workspace123

Are you running into an issue with the site? Maybe you found a broken link, or something else is wrong?

Fill out this form to let us know, and we will address it as soon as possible.

Please make sure to be very specific and add as many details as possible.

Missing Content

Our goal is to run the number one site in the world for you to get help with and learn how to use Google Workspace. This can’t be so if there is any missing information.

If you believe we need to add something, fill out this form, and we will do our best to add any missing content as soon as possible.

This site uses cookies to ensure you get the best experience. Click here to see our Cookies Policy.

Be the first to know

You can stay on top of news and updates in Google Workspace and Workspace123 and get special offers by subscribing to our newsletter.

Subscribe by email for news and updates