The dangers of a simplistic session secret A session secret is a key used for encrypting cookies. Application developers often set it to a weak key during development, and don't fix it during production. This article explains how such a weak key can be cracked, and how that cracked key can be used to gain control of the server that hosts the application. We can prevent this by using strong keys an
![One Line of Code that Compromises Your Server](https://cdn-ak-scissors.b.st-hatena.com/image/square/0f3267d73c49a9d7b10ecc8219daaae9653bb37d/height=288;version=1;width=512/https%3A%2F%2Fmartinfowler.com%2Farticles%2Fsession-secret%2Ftwitter-card.png)