Syntactic Confectionery Delight | |
PerlMonks |
Re: Is your web application really secure? ("CSRF")by Spidy (Chaplain) |
on Mar 31, 2007 at 02:36 UTC ( [id://607601]=note: print w/replies, xml ) | Need Help?? |
Someone I know was working on a problem like this, and used something along the lines of the tokens solution that you described. What they did is to use a user's unique user ID value, pass it through crypt(), and then embed that into their form as the token. That value would then be checked with the user ID inside the database, and if the two matched any other checks could then be run.
In Section
Meditations
|
|