Google has taken a serious step towards reducing phishing activities. Gmail has been targeted most in the recent years by the hackers. The company is now going to restrict the uploads of .js file attachments. Users will not be able to send any attachment with the .js extension. It is not the first file attachment which Gmail has restricted, there have been extensions (eg. .exe, .msc, and .bat) which were restricted for security reasons.
The company updated this on its official blog saying, “Gmail currently restricts certain file attachments (e.g. .exe, .msc, and .bat) for security reasons, and starting on February 13, 2017, we will not allow .js file attachments as well.”
All inbound emails will get back to the senders with a message explaining why the mail is blocked. Although if Gmail users want to send .js files they can do it from Google Drive and Google Cloud Storage.