Gmail won’t allow users to attach JavaScript files starting from February 13

Edward Hudson By: Edward Hudson
2 minute read
fix print Gmail emails

It’s easy to detect malicious emails: They often contain attachments that include the standard Windows executables (.exe) and JavaScript files (.js), executable programs that cyber crooks use to lure unsuspecting recipients into their trap. Beginning February 13, Google will no longer let Gmail users attach JavaScript files in email to address security concerns.

Google announced in a blog post:

Gmail currently restricts certain file attachments (e.g. .exe, .msc, and .bat) for security reasons, and starting on February 13, 2017, we will not allow .js file attachments as well. Similar to other restricted file attachments, you will not be able to attach a .js file and an in-product warning will appear, explaining the reason why.

More specifically, you will no longer be able to directly send .js attachments to others or even include these files in archives such as .zip or .tgz. However, you can still send JavaScript files using cloud-based methods such as the Dropbox or Google Drive service. Google Drive specifically allows you to send the link to the content you want to share with a friend or colleague.

The move also expands the current list of banned file attachments in Gmail, which includes .ade, .cmd, and .lib, among others. Cyber criminals have been using these file types to distribute malware via email over the last couple of years.

Over the past two years, JavaScript files have been a subject of abuse as cyber crooks can directly execute this file type on Windows, thanks to the Windows Script Host component. The JavaScript files often serve as a vehicle for downloading other malware. As a rule of thumb, you must never open a file that looks suspicious.


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).


Next up

Surface Pro 3 gets new security updates, install goes smoothly

Giles Ensor avatar. By: Giles Ensor
2 minute read

After recent bad news stories about updates released by Microsoft for Windows 10, that you can read here and here, it is refreshing to read (or […]

Continue Reading

Best Windows 10 antivirus software to use in 2018

Radu Tyrsina By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

Sovan Mandal avatar. By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading