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. OTT Releases This Week: 24, Band Melam, Nukkad Naatak, Prathichaya, and More
  2. Vivo Y6 5G Debuts With 7,200mAh Battery, 6.75-Inch Screen at This Price
  3. Instagram Launches Instants App With Disappearing Photos to Rival Snapchat
  4. Leaked Dummy Gives Us an Early Look at the Design of the iPhone 18 Pro Max
  5. Qualcomm Hints at Snapdragon Chips for Samsung Galaxy S27 Series
  6. Honor MagicPad 3 Pro 12.3 Debuts With 10,100mAh Battery, Slim 4.8mm Profile
  7. Detailed Oppo Find X9 Ultra Teardown Video Shows Us What's Inside
  8. Vivo X500 Series Screen Sizes Leaked, Could Arrive With 144Hz Displays
  9. Xiaomi Mix Fold 5 Might Be in Development With This In-House Chip
  1. Jio Youth and Gaming Plan With Snapchat+, FanCode and Gemini Pro Launched: Price, Benefits
  2. Infinix GT 50 Pro Launched With Dimensity 8400 Ultimate, HydroFlow Liquid Cooling, Shoulder Triggers: Price, Features
  3. Adobe Previews New Agentic AI Workflows for Marketing Tasks at Adobe Summit 2026
  4. Microsoft Gaming Rebrands to Xbox, Debuts New Logo as Xbox Chief Says Company Reevaluating Exclusive Games
  5. Instagram Launches Instants App With Disappearing Photos to Rival Snapchat, BeReal
  6. Prathichaya (2026) Now Streaming Online: What You Need to Know
  7. Vivo X500 Series Tipped to Launch With 144Hz Displays, Ultrasonic Fingerprint Scanners
  8. Kelp Exploit Aftermath: DeFi Protocols Join Hands to Restore rsETH Following $293 Million Hack
  9. Microsoft Makes Copilot’s Agentic Features in Word, Excel and PowerPoint Generally Available
  10. OnePlus Ace 6 Ultra Battery Capacity Revealed as Company Teases ‘Energy Concentration’ Chip
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.