Book Details:
Publisher: | Packt Publishing |
Series: |
Packt
|
Author: | Dominic Barnes |
Edition: | 1 |
ISBN-10: | 1783281499 |
ISBN-13: | 9781783281497 |
Pages: | 94 |
Published: | Oct 25 2013 |
Posted: | Nov 19 2014 |
Language: | English |
Book format: | PDF |
Book size: | 0.83 MB |
Book Description:
Take a deep dive into the world of securing your Node applications with Node Security 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, well 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.
Porting PHP to Node.js
If you're an experienced Php developer, you already have a head start on learning how to write Node.js code. In this book, author Daniel Howard demonstrates the remarkable similarities between the two languages, and shows you how to port your entire Php web application to Node.js. By comparing specific Php features with their Node counterparts, you will also discover how to refactor and improve existing Php 4 or Php 5 source code. At the end, you will have two fully functional codebases to provide to your users. You can update both of them simultaneously, using this book as a reference to important aspects of Php and Node.js.Use a simple Node.js framework to convert individual Php pages to Node.js files Refactor blocking Php source code to non-blocki...
A practical introduction to Node, the exciting new server-side JavaScript web development stack Go from nothing to a database-backed web application in no time at all Get started quickly with Node and discover that JavaScript is not just for browsers anymore An introduction to server-side JavaScript with Node, the Connect and Express frameworks, and using SQL or MongoDB database back-end In Detail Node is an exciting new technology stack that brings JavaScript to the server-side of web applications for the first time. Node means that JavaScript is no longer just for browsers. It's for web application development, it's for developing any internet protocol, it's for the real-time web, it's for command line scripts, and much more. Node Web Development...
With this concise book, you'll learn the art of building hypermedia Apis that don't simply run on the Web, but that actually exist in the Web. You'll start with the general principles and technologies behind this architectural approach, and then dive hands-on into three fully-functional Api examples. Too many Apis rely on concepts rooted in desktop and local area network patterns that don't scale well-costly solutions that are difficult to maintain over time. This book shows system architects and web developers how to design and implement human- and machine-readable web services that remain stable and flexible as they scale. Learn the H-Factors for representing application metadata across all media types and formats Understand the four basic design e...
2007 - 2021 © eBooks-IT.org