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

Facebook Gadgets360 Twitter Share Tweet Snapchat LinkedIn Reddit Comment google-newsGoogle News
Gmail to Start Blocking JavaScript Attachments from February 13, Citing Security Reasons
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
Advertisement

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

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.

Comments

For details of the latest launches and news from Samsung, Xiaomi, Realme, OnePlus, Oppo and other companies at the Mobile World Congress in Barcelona, visit our MWC 2025 hub.

Further reading: Apps, Gmail, Internet, Google, JavaScript
Ketan Pratap
Ketan Pratap is the editor at Gadgets 360 - with over 12 years of experience covering the technology domain. With a breadth and depth of knowledge in the field, he's done extensive work across news, features, review... more  »
Facebook Tunes Trending Topics to Better Deliver News
Facebook News Feed Revamped to Surface More Relevant Videos

Advertisement

Follow Us

Advertisement

© Copyright Red Pixels Ventures Limited 2025. All rights reserved.
Trending Products »
Latest Tech News »