O'Reilly logo

Node Security by Dominic Barnes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Security logging

Another important aspect of security is logging, or recording various events within your application so that they can be analyzed for anomalies. These anomalies could be reviewed to detect places where attackers are attempting to bypass your security methods, and by detecting these activities before an actual intrusion, further steps can be taken to mitigate those risks. Beyond just security, logging can also help to detect cases in your program that cause problems for your users, and allow you to more easily reproduce and fix those problems.

Your specific application and environment will be what drives your logging methods. By methods, I mean how your logs are recorded and stored, such as the use of flat files in your filesystem, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required