JavaScript Security
暫譯: JavaScript 安全性
Y.E Liang
- 出版商: Packt Publishing
- 出版日期: 2014-11-23
- 售價: $1,250
- 貴賓價: 9.5 折 $1,188
- 語言: 英文
- 頁數: 113
- 裝訂: Paperback
- ISBN: 1783988002
- ISBN-13: 9781783988006
-
相關分類:
JavaScript、資訊安全
海外代購書籍(需單獨結帳)
相關主題
商品描述
About This Book
- Understand the JavaScript security issues that are a result of both the frontend and the backend of a web app
- Learn to implement Security techniques to avoid cross site forgery and various JavaScript vulnerabilities.
- Secure your JavaScript environment from the ground up, with step-by-step instructions covering all major ways to tackle Security issues
Who This Book Is For
This book is for JavaScript developers having basic web development knowledge and also for those who want to explore the security issues that arise from the use of JavaScript. Prior knowledge of how JavaScript is used, such as for DOM manipulation or to perform Ajax operations, is assumed.
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
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.
商品描述(中文翻譯)
學習 JavaScript 安全性以提高您的網頁應用程式的安全性
本書介紹
- 了解由網頁應用程式的前端和後端所引起的 JavaScript 安全性問題
- 學習實施安全技術以避免跨站請求偽造和各種 JavaScript 漏洞
- 從基礎開始保護您的 JavaScript 環境,提供逐步指導,涵蓋解決安全性問題的所有主要方法
本書適合誰
本書適合具有基本網頁開發知識的 JavaScript 開發人員,以及希望探索使用 JavaScript 所產生的安全性問題的人。假設讀者對 JavaScript 的使用有一定了解,例如用於 DOM 操作或執行 Ajax 操作。
您將學到什麼
- 回顧 JavaScript 的特性及其漏洞
- 將 JavaScript 與 Ajax RESTful API 結合使用
- 處理跨站腳本攻擊
- 對端點進行基本的 GET 和 POST 請求
- 探索什麼是跨站請求偽造以及如何處理它
- 避免對客戶端的錯誤信任並探索各種範例
- 了解 JavaScript 網路釣魚
詳細內容
本書首先介紹 JavaScript 安全性,並概述 JavaScript 在網路上(包括客戶端和伺服器端)可以執行的基本功能。它展示了 RESTful API 可能存在的幾種安全缺陷。您還將使用 Express.js 和 Node.js 創建一個簡單的 RESTful 伺服器。接著,您將專注於最常見的 JavaScript 安全攻擊之一:跨站腳本攻擊,以及如何防止跨站腳本攻擊和跨站請求偽造。
最後,本書還涵蓋了 JavaScript 網路釣魚的運作方式及其對策。
在本書結束時,您將能夠識別各種 JavaScript 的風險及其預防方法。