Book description
Learn JavaScript security to make your web applications more secure
In Detail
This book starts off with an introduction to JavaScript security and gives you an overview of the basic functions JavaScript can perform on the Web, both on the client side and the server side. It demonstrates a couple of ways in which RESTful APIs can be laden with security flaws. You will also create a simple RESTful server using Express.js and Node.js. You will then focus on one of the most common JavaScript security attacks, cross-site scripting, and how to prevent cross-site scripting and cross-site forgery.
Last but not least, the book covers JavaScript phishing, how it works, and ways to counter it.
By the end of this book, you will be able to identify various risks of JavaScript and how to prevent them.
What You Will Learn
- Review the features of JavaScript and its vulnerabilities
- Use JavaScript in tandem with Ajax RESTful APIs
- Deal with cross-site scripting
- Make basic GET and POST calls to an endpoint
- Explore what cross-site forgery is and how to deal with it
- Avoid misplaced trust in the client and explore various examples
- Understand JavaScript phishing
Table of contents
-
JavaScript Security
- Table of Contents
- JavaScript Security
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. JavaScript and the Web
- 2. Secure Ajax RESTful APIs
- 3. Cross-site Scripting
- 4. Cross-site Request Forgery
- 5. Misplaced Trust in the Client
- 6. JavaScript Phishing
- Index
Product information
- Title: JavaScript Security
- Author(s):
- Release date: November 2014
- Publisher(s): Packt Publishing
- ISBN: 9781783988006
You might also like
book
Secure Your Node.js Web Application
Cyber-criminals have your web applications in their crosshairs. They search for and exploit common security mistakes …
book
JavaScript Everywhere
JavaScript is the little scripting language that could. Once used chiefly to add interactivity to web …
book
Essential Cryptography for JavaScript Developers
Discover how to take advantage of common cryptographic operations to build safer apps that respect users' …
book
Security for Web Developers
As a web developer, you may not want to spend time making your web app secure, …