Node Security
暫譯: Node 安全性

Dominic Barnes

  • 出版商: Packt Publishing
  • 出版日期: 2013-09-10
  • 售價: $1,350
  • 貴賓價: 9.5$1,283
  • 語言: 英文
  • 頁數: 94
  • 裝訂: Paperback
  • ISBN: 1783281499
  • ISBN-13: 9781783281497
  • 相關分類: Node.js資訊安全
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

For an in-depth understanding of how you can secure your Node.js applications, this is the ideal book. By learning to write code defensively and adopting security techniques you will be able to withstand common web attacks.

Overview

  • Examine security features and vulnerabilities within JavaScript
  • Explore the Node platform, including the event-loop and core modules
  • Solve common security problems with available npm modules

In Detail

Node.js is a fast-growing platform for building server applications using JavaScript. Now that it is being more widely used in production settings, Node applications will start to be specifically targeted for security vulnerabilities. Protecting your users will require an understanding of attack vectors unique to Node, as well as shared with other web applications.

To secure Node.js applications, we’ll start by helping you delve into the building blocks that make up typical Node applications. By understanding all the layers that you are building on top of, you can write code defensively and securely. In doing so, you will be able to protect your user's data and your infrastructure, while still using the rock-star technology behind Node.js.

Teaching you how to secure your Node applications by learning about each of the layers you will be building on top of; starting with JavaScript itself, then the Node platform, and finally the npm module ecosystem. By starting with JavaScript, you will learn what to avoid and what to embrace. Next, we will explain the Node platform, including its unique architecture and core modules, so you know how things work under the hood. Finally, we will introduce the rich ecosystem of npm modules, including modules to help you solve the common security problems you might face. Through our handy tutorials, you will be able to write secure Node.js applications, ones that will remain online under pressure and be able to weather the most common attacks that face web applications today.

What you will learn from this book

  • Master the origins of the Node.js and npm projects
  • Understand the architecture, including the event-loop and asynchronous I/O
  • Delve into the key aspects of avoiding some common pitfalls of JavaScript development
  • Incorporate ES5's security improvements, including strict-mode
  • Add static code analysis and the code-quality it promotes
  • Explore the basics of proper error-handling within Node applications
  • Understand the architecture of Express and Connect
  • Adapt common authentication and authorization schemes

Approach

A practical and fast-paced guide that will give you all the information you need to secure your Node applications.

Who this book is written for

If you are a developer who wishes to secure your Node applications, whether you are already using Node Security in production, or are considering using it for your next project, then this book will enable you to ensure security of your applications. An understanding of JavaScript is a prerequisite, and some experience with Node is recommended, though not required.

商品描述(中文翻譯)

要深入了解如何保護您的 Node.js 應用程式,這是理想的書籍。透過學習防禦性編碼和採用安全技術,您將能夠抵禦常見的網路攻擊。

概述

  • 檢視 JavaScript 中的安全特性和漏洞
  • 探索 Node 平台,包括事件循環和核心模組
  • 利用可用的 npm 模組解決常見的安全問題

詳細內容

Node.js 是一個快速成長的平台,用於使用 JavaScript 建立伺服器應用程式。隨著它在生產環境中的廣泛使用,Node 應用程式將開始專門針對安全漏洞進行攻擊。保護您的用戶需要了解 Node 特有的攻擊向量,以及與其他網路應用程式共享的攻擊向量。

為了保護 Node.js 應用程式,我們將首先幫助您深入了解構成典型 Node 應用程式的基本構件。通過理解您所構建的所有層級,您可以進行防禦性和安全的編碼。這樣,您將能夠保護用戶的數據和基礎設施,同時仍然使用 Node.js 背後的頂尖技術。

教您如何通過了解您將構建的每一層來保護您的 Node 應用程式;從 JavaScript 本身開始,然後是 Node 平台,最後是 npm 模組生態系統。從 JavaScript 開始,您將學習應避免的事項和應該採納的事項。接下來,我們將解釋 Node 平台,包括其獨特的架構和核心模組,讓您了解其運作原理。最後,我們將介紹豐富的 npm 模組生態系統,包括幫助您解決可能面臨的常見安全問題的模組。通過我們的實用教程,您將能夠編寫安全的 Node.js 應用程式,這些應用程式在壓力下仍能保持在線,並能抵禦當前網路應用程式面臨的最常見攻擊。

您將從本書中學到什麼

  • 掌握 Node.js 和 npm 專案的起源
  • 理解架構,包括事件循環和非同步 I/O
  • 深入了解避免 JavaScript 開發中一些常見陷阱的關鍵方面
  • 納入 ES5 的安全改進,包括嚴格模式
  • 添加靜態代碼分析及其促進的代碼質量
  • 探索 Node 應用程式中正確錯誤處理的基本知識
  • 理解 Express 和 Connect 的架構
  • 調整常見的身份驗證和授權方案

方法

一本實用且快速的指南,將為您提供保護 Node 應用程式所需的所有資訊。

本書的讀者對象

如果您是一位希望保護 Node 應用程式的開發人員,無論您是否已經在生產環境中使用 Node Security,或考慮在下一個專案中使用它,那麼本書將使您能夠確保應用程式的安全。了解 JavaScript 是先決條件,建議具備一些 Node 的經驗,但不是必需的。