Using the admin console / Policies
Download policies
A download policy matches by website and file type. With zip on its list it applies to ZIP files, and can check inside them.
- Websites:
*for every website,example.com, or*.example.comfor its subdomains. They match the page the download came from or the server it comes from. - File types: pick file type lists (Lists) and add extra types. The built-in Dangerous file types list can't be edited, but Make a copy gives you one that can.
- ZIP files: a policy applies to .zip files only when
zipis on its list. Then Check inside .zip files for these file types appears: ticked, a .zip is opened and each file inside is decided by the first policy that lists its type and checks inside, and the strictest result decides the download; unticked, every .zip matches as a whole. Either way, a .zip that can't be checked (password-protected, damaged, larger than the limit in Download limits, with too many files, built to hide what's inside, or made by the web page itself, as GitHub's download button does) matches as a .zip, and so does a .zip inside a .zip. Only the downloaded .zip is opened. A download that times out or fails part-way is always blocked, as the file never fully arrived. - Exceptions: to trust one website's ZIPs completely, add an Allow policy for it above the defaults with
zipon its list and checking inside off. SharePoint and OneDrive make a ZIP of several files in reply to a form. From version 0.6.0 of the extension, Browser Rules sends the same form again and checks inside, as for any ZIP. If the website won't send it again, it's blocked as a ZIP that can't be checked. To allow those, use Allow SharePoint and OneDrive multi-file downloads from Add policy: an Allow policy for*.svc.msin the same way (extension 0.5.0). It covers every organisation's SharePoint, not only yours. To let IT download tools, allowexe,msiandzipfrom their website with checking inside on: a ZIP is then allowed only if everything inside it is allowed. - Files are decided by their names. A program renamed invoice.pdf is saved, as it can't run by itself; whatever would run it (a shortcut, a script, a pasted command) is caught on its own. Word and Excel files, and other files that are ZIPs inside, are decided by name like any other file.
- Messages: Warn and Block show a message: see Messages.
- Audit records the download. The policies below still decide whether it's saved, and whether a ZIP is checked inside.
- Common rules to start from: Add policy offers allow all ZIPs from a website, allow SharePoint and OneDrive multi-file downloads, let a group download tools from a website, warn before ZIPs that can't be checked, warn before macro documents, block disk images. Pick one, fill in what's left blank, and save. Or choose a custom policy.