From the course: JavaScript for Web Designers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

JavaScript's power can be dangerous

JavaScript's power can be dangerous - JavaScript Tutorial

From the course: JavaScript for Web Designers

Start my 1-month free trial

JavaScript's power can be dangerous

- [Narrator] JavaScript is a wonderful tool that can do a lot. In fact, these days it seems like there's little you can't do with JavaScript, especially in the realm of web design. That being said, it can be argued that all this power has been weaponized and it has implications for the rest of us. First are the security risks. JavaScript can be used to load data via AJAX or by manipulating tags that load data, like image tags, object tags, script tags, and so on. Attacks like this are called cross site script attacks since they inject JavaScript that's not part of the site into visitors' browsers. When website authors become careless and leave these vulnerabilities, the result can be anything from the website being defaced, site visitors having their personal information revealed or stolen and more. You can find out more about cross site scripting attacks in the course Programming Foundations: Web Security. Next are…

Contents