1. TechSpot is dedicated to computer enthusiasts and power users. Ask a question and give support. Join the community here.
    TechSpot is dedicated to computer enthusiasts and power users.
    Ask a question and give support.
    Join the community here, it only takes a minute.
    Dismiss Notice

Gmail will block JavaScript file attachments starting next month

By Jos ยท 7 replies
Jan 26, 2017
Post New Reply
  1. [parsehtml]<p><img src="https://www.techspot.com/images2/news/bigimage/2017/01/2017-01-26-image-2.png" /></p> <p>Google will soon begin <a href="https://gsuiteupdates.googleblog.com/2017/01/gmail-will-restrict-js-file-attachments.html">blocking Javascript attachments</a> in Gmail in an effort to protect users form malicious attacks. The ban will take effect beginning February 13 and expands upon the service&rsquo;s existing list of restricted file attachments, which also includes .exe, .msc and .bat archives.&nbsp;</p> <p>Similar to how it handles other restricted attachments, if you try to attach a .js file to an email on or after the 13th, you&#39;ll get a notification that says it&#39;s blocked &quot;because its content presents a potential security issue.&quot; The service will detect .js files even if they&#39;re sent in compressed form as a .zip, for example.</p> <p>If you still need to send .js files for legitimate reasons, Google suggests you use Google Drive, Google Cloud Storage, or other storage solutions to share or send your files</p> <p>JavaScript is a common language used when developing web applications, and while .js files are not inherently bad, you shouldn&rsquo;t open them if sent from an unknown source since hackers can use them to gain access to a user&rsquo;s PC and install downloaders for a ransomware or other types of malware.</p> <p>It&rsquo;s unclear Google will also show a warning when users receive emails with JS files attached.</p><p><a rel='alternate' href='https://www.techspot.com/news/67919-gmail-block-javascript-file-attachments-starting-next-month.html' target='_blank'>Permalink to story.</a></p><p class='permalink'><a rel='alternate' href='https://www.techspot.com/news/67919-gmail-block-javascript-file-attachments-starting-next-month.html'>https://www.techspot.com/news/67919-gmail-block-javascript-file-attachments-starting-next-month.html</a></p>[/parsehtml]
  2. jobeard

    jobeard TS Ambassador Posts: 12,551   +1,440

    Ditch HTML formatting and make'm read plain text - - it's just raw data and no processing is required :)
  3. Fabio Turati

    Fabio Turati TS Enthusiast Posts: 29   +12

    Why don't we just go back to the stone age? 10.000 years ago there were no Javascript exploits, believe me!
  4. jobeard

    jobeard TS Ambassador Posts: 12,551   +1,440

    RTF has sufficient formatting controls w/o subjecting the user to script injects, et all.
    Btw: I was using Email, FTP, and Gopher long before you ever saw the World Wide Web.
  5. cliffordcooley

    cliffordcooley TS Guardian Fighter Posts: 11,208   +4,873

    That's going too far. So instead of teaching people or allowing them to learn the hard way, they prevent people from easily sharing content. Good move Google, I'm so glad I don't use your service. I can understand blocking the bare js file. But if someone stupidly opens an archive and runs damaging script, why punish everyone for their stupidity?
  6. jobeard

    jobeard TS Ambassador Posts: 12,551   +1,440

    Just how many NEED to share JS content??? one in one thousand (maybe) and today, iCloud, Dropbox and even archaic FTP are better choices w/o risks to any email recipient.

    Forget barn doors; when every other board on the barn is missing, you can't even play hide-n-seek. Systems today are like a colander and everything just pours through.
  7. cliffordcooley

    cliffordcooley TS Guardian Fighter Posts: 11,208   +4,873

    Probably about the same number as those who shoot each other. But yet taking away the method of doing so, does not fix the underlined problem. Nor is it fair to those who use it wisely.
  8. jobeard

    jobeard TS Ambassador Posts: 12,551   +1,440

    Unfortunately that's the hackers; Joe & Mary Smith wouldn't even know how

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...