Security is all about thinking outside the box, sometimes ignoring rules and principles is better because they limit what we can do.
In this tutorial I'll give demonstration on how to do it using NodeJS as backend and hopefully this gives you ideas for your website backend security. It's very simple yet effective.