Adding a CSP to my site

A few weeks ago Troy Hunt and Scott Helme released Report URI JS. I wanted to test it out to see how easy it was to implement. The library is very easy to use, the hard part is still setting up the CSP.

Continue reading “Adding a CSP to my site”

Advertisements

Not every class needs to be injected

A trend I see in code that gets written by friends and coworkers is that every class needs to be injected. They all look so surprised when I tell them that they don’t have to do that with every class they need. Then they always follow up with: then why do we need a dependency injection (DI) framework?

Continue reading “Not every class needs to be injected”

Two Factor Authentication via 1Password

Seems like I’m talking a lot about 1Password (and password managers in general) these past few weeks. Well, it’s because I think they are awesome and an invaluable tool if you want to secure yourself on the internet these days. In this article, I’m going to explain why you should use two factor authentication (2FA) and how you can set it up with 1Password, so you only need to do it once.

Continue reading “Two Factor Authentication via 1Password”