Gmail to Start Blocking JavaScript Attachments from February 13, Citing Security Reasons

Advertisement
By Ketan Pratap | Updated: 27 January 2017 12:09 IST
Highlights
  • Gmail will block .js attachments from February 13
  • Google says decision taken to reduce malicious attacks
  • One can use Google Drive and other services to share .js attachments

Google has announced that it will start blocking JavaScript attachments in Gmail soon, in an attempt to reduce malicious attacks. In a blog post, the company announced that the restriction on .js file attachments will start on February 13.

Notably, .js files are not the only ones that have been blocked, as Gmail already bans use of certain file attachments like .exe, .msc, and .bat. The company says it is restricting certain file attachments for security reasons. If you try to send .js file attachments (even in compressed form) from February 13, Gmail will block the attachment and will show an in-product warning explaining the reason why.

The warning message will read, "There are a number of reasons why you may see the 'This message was blocked because its content presents a potential security issue' error in Gmail. Gmail blocks messages that may spread viruses like messages that include executables files or certain links."

Advertisement

Google has however recommended workarounds to share .js attachment files and suggests users to do it via use of Google Drive, Google Cloud Storage, or other storage solutions to share or send files.

Advertisement

Google lists some of the reasons why it blocks the use of certain attachments including their compressed form (like .gz or .bz2 files) or when found within archives (like .zip or .tgz files) as they may be documents with malicious macros. Google also blocks archives whose listed file content is password protected or whose content includes a password protected archive.

One of the possible reasons for Google to block .js attachment files may be due to increasing popularity of JavaScripts as form of malware. Once malicious .js file downloaded can help attackers steal data from the system.

 

Catch the latest from the Consumer Electronics Show on Gadgets 360, at our CES 2026 hub.

Further reading: Apps, Gmail, Internet, Google, JavaScript
Advertisement

Related Stories

Popular Mobile Brands
  1. CNAP vs Truecaller: Which Is Better at Identifying Spam Calls?
  2. Samsung Galaxy S26 Series Roundup: Everything That We Know So Far
  3. Mask OTT Release Date: When and Where to Watch This Action-Packed Thriller Online?
  1. Quantum Haloscope Sharpens the Search for Dark Matter Axions at Higher Frequencies
  2. Rare Interstellar Object 3I/ATLAS Fails Alien Test, Scientists Say
  3. CNAP vs Truecaller: How India’s Official Caller ID System Differs From the Popular App
  4. Prayagraj Ki Love Story Set to Stream Soon on Hungama OTT
  5. Mask OTT Release Date: When and Where to Watch This Action-Packed Thriller Online?
  6. New Year 2026 Custom Greetings: 5 Best AI Prompts for ChatGPT, Gemini, and Other AI Tools
  7. NASA’s Chandra Spots Champagne Cluster Formed by a Massive Galaxy Collision
  8. NASA’s Curiosity Rover Sends Stunning Sunrise-and-Sunset Holiday Postcard from Mars
  9. Oppo Find X9s Key Specifications Leaked Again; Might Also Launch in India
  10. Redmi Turbo 5, Redmi Turbo 5 Pro to Be Equipped With Upcoming MediaTek Dimensity Chips, Tipster Claims
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.