I have 2 main security concerns:
- Someone getting access who has not been authenticated (solved by requiring a valid token)
- Someone getting access under a different identy than he was authenticated as (so email@example.com cannot post data under the alias firstname.lastname@example.org)
I have 2 main system requirements:
- Stateless on the server side: it shouldn't have to keep any information regarding a user inside server memory between two requests
- I want a quick (Java implementation < 100ms) authentication of any further request after the first, this makes it impossible to just verify the Persona assertion another time, or decrypting a token based on RSA or similar procedures
In my eyes this seems to be impossible (I basically want the security of digital certificates without the performance detriments related with them). But I'm open to suggestions.
I don't need to protect any valuable data which is why I'm using Persona in the first place. My primary attack case is friends of mine trying to dick around with the system. I at least want them to spend a few minutes of work to do that.