← All posts
Posts tagged "Security"
Security · 2Role-Based Access: Middleware Redirects, the Backend Decides
A Nuxt route middleware sends the user to the right page but secures nothing. Why I built role checks in two layers and wrote the same rule twice.
Multiple Sessions in One Browser: Cookie Slot Architecture
Cookies are per origin, so a second login overwrites the first. A slot-based cookie design, a privilege-escalation risk, and an unexpected HTTP 500.