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.

Advertisement

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."

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.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

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

Related Stories

Popular Mobile Brands
  1. Vivo X300 FE, iQOO 15R and More Discounted During Amazon Mega Deal Days Sale
  2. Vivo Y31s Launched in Malaysia With These Features
  3. OnePlus Could Launch a New Budget Smartphone Lineup in India Soon
  4. Infinix Hot 70 Pro India Launch Timeline, Key Specifications Leaked
  5. Samsung Galaxy S26 FE Tipped to Get New Look With Glossy Rear Panel
  6. New Leak Shows Us What Apple's Foldable iPhone Might Look Like
  7. Infinix Smart 20 vs Lava Bold N2 5G vs Redmi A7 Pro 5G: Here Is a Quick Comparison
  8. Samsung Galaxy S27 Pro's Battery May Match the One on the Galaxy S26 Ultra
  9. How to Watch WWDC 2026 Live on YouTube, Apple TV, and More
  10. Vivo V70 Lite 5G Silently Launched in Select Markets With These Features
  1. Samsung Galaxy S26 FE Said to Ditch Matte Finish for a Glossy Rear Panel
  2. OnePlus N Series Tipped to Launch in India Next Month, Could Be More Affordable Than the OnePlus Nord CE 6 Lite
  3. Vivo Y31s 5G Launched With Snapdragon 4 Gen 2 Chip, 6,500mAh Battery: Price, Specifications
  4. Chinese Court Classifies Bitcoin as Property in Case Involving 107 BTC Theft
  5. Resident Evil Veronica Revealed at Summer Game Fest; Launch Set for 2027
  6. iQOO Neo 12 Said to Bring Major Display Upgrade With Up to 185Hz Refresh Rate
  7. Samsung Galaxy Watch Ultra 2, Galaxy Watch 9 Clear Key Regulatory Hurdle Ahead of Anticipated Launch
  8. Microsoft Reportedly Working on Shared Audio Feature on Windows 11 Alongside Tweaked Widgets
  9. Redmi K100 Specifications Leak Again; May Feature 185Hz Display, 8,500mAh Battery
  10. WhatsApp Multi-Account Support on iOS Reportedly Rolling Out to More Users
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.