Hapi is best known for being a scalable, community-centric framework, but it’s clear that security is also a priority for the team behind it. Hapi makes it easy for developers to validate configurations quickly and without having to perform (many) workarounds, making for a clean, secure codebase. Hapi relies on community-approved plugins to help keep your applications secure, especially when it comes to session storage and authentication.
Earlier this year we wrote a post about Hapi plugins that highlighted a few potential pitfalls with popular Hapi authentication plugins. In case you missed it, here’s a condensed recap:
We realized that we focused a bit too much on how to avoid security issues when using Hapi plugins, and not enough on some of the plugins that get security right. With that in mind, we drew up a list of plugins we like at Black Duck that you should consider using in your Hapi application. Here are the five plugins you won’t want to live without:
Hapi is an excellent fit for developers who are trying to build stronger, more secure applications. There is also the added benefit of the Hapi ecosystem producing high-quality plugins that are well-maintained. While there is no magic security wand to wave over your code, Hapi helps developers to be proactive and put security as a priority when developing applications.