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.

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. HMD 2660 Flip Senior Edition Launched With AI Companion Mary, 4G Support
  2. Redmi Book 2027 Series Launch Date Announced
  3. iOS 27.2 Update: Six iPhone Apps Set to Get New Features Next Week
  4. Acer TravelLite TL44-53M-G2 Launched in India With Intel Core Ultra Series 3 Chip
  5. Oppo Pad Mini Launched in India With These Features
  1. iPhone Duo Goes on Sale in India: Price, Offers and Specifications
  2. Meta Ordered to Pay $25 Billion Penalty in Data Privacy Case
  3. Oppo Enco X4 TWS Earbuds Launched in India With Hi-Res Audio, Up to 53 Hours of Total Battery Life
  4. Cyberpunk 2077 Gets New Quests, Gameplay Features and Mod Support With Edgerunners 2 Update
  5. CoinDCX Dismisses Second Breach Claims as Blockchain Investigators Examine Wallet Transfers
  6. HMD 2660 Flip Senior Edition Launched With AI Companion Mary, Removable Battery, 4G Support: Price, Features
  7. Lenovo Yoga Pro 9n, Yoga 9n 2-in-1 With Nvidia RTX Spark Launched in India: Price, Specifications
  8. Oppo Pad Mini Launched in India With 2.5K OLED Screen, 8,000mAh Battery: Price, Specifications
  9. Oppo Find X10 Pro Max Launched in India With Triple 200-Megapixel Cameras, Dimensity 9600 Pro SoC, Oppo Find X10 Tags Along: Price
  10. Google Cloud Adds GPT-6 Astra, GPT-6.1 Sol, GPT-6 Luna Models to Model Garden
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.