By Developers, For Developers

Historical errata for Secure Your Node.js Web Application

PDF PgPaper PgTypeDescriptionFixed onComments
19TYPO

“In this chapter we being building our application by pouring the foundation.” should be “begin building”

2015-08-31
27TYPO

“less people have access” should be “fewer people have access”

2015-08-31
35TYPO

“credit card information..” should be “credit card information.”
“And trust me neither are your users.” should be “And trust me, neither are your users.”

2015-08-31
39TYPO

“determining the extend of the breach” should be “extent”

2015-08-31
44TYPO

“This is because and I quote” should be “This is because, and I quote,”

The quote also needs to be attributed.

2015-08-31
58TYPO

“which we will use to supple the database connection information.” supple => supply

2015-08-31
96TYPO

“This will seriously hinter an attacker” - hinter => hinder

2015-08-31
107TYPO

“So let’s limit the cookie exposure to it’s minimum.”
it’s => its

2015-08-31
122TYPO

“But the point is that always remember to do access validation and always test the expected behaviour.”

“But the point is this: ” ?

2015-08-31
125SUGGEST

I was hoping this chapter would do more than show some ad hoc access control and instead talk about handling it at a higher level of abstraction, either through custom middleware or by pointing to suitable npm modules.

2015-11-06
125SUGGEST

“By the end of this chapter you should be able to avoid shooting yourself and your Node.js service in the leg before the big race.”
Mixed metaphor? Should at least be foot instead of leg.

2015-09-01
136TYPO

“Let me bring you an example I found the ‘connect’ framework while I was doing my master’s thesis”

“Let me share an example” and “I found in the…”

2015-08-31
137TYPO

“request handling can have it’s quirks as well”

it’s => its

2015-08-31
144ERROR

DOM XSS image is the same as Stored XSS.

2015-08-31
110TYPO

“a integral part” should be “an integral part”.

2015-08-31
114TYPO

“common then forgetting” should be “common than forgetting”.

2015-08-31
150TYPO

It’s a formatting issue, funny story:
HTML Escaping table is escaping the content, so the formatting is all wrong. Probably this input I am entering text in will escape HTML as well so I won’t try to write the correct format; you should go open the PDF to find out what this is about.

2015-09-01
6TYPO

In the last paragraph of the page says “results.More importantly”, I think there is a missing space after the dot and before the M.

2015-09-04
17TYPO

‘dependences’ instead of ‘dependencies’

2015-12-14
safarERROR

chp-5-database/mysql-exploitable-fixed.js
Query doesn’t work for Karl. Generated SQL: SELECT * FROM accounts WHERE name=“‘karl’”
Fix: ‘SELECT * FROM accounts WHERE name=’ + connection.escape(req.params.name)

99ERROR

-var RedisStore = require(‘connect-redis’)(express);
+var RedisStore = require(‘connect-redis’)(session);

Categories: