[wp-hackers] Rethinking check_admin_referer()
Robert Deaton
false.hopes at gmail.com
Fri Apr 21 15:59:53 GMT 2006
On 4/21/06, Matt Mullenweg <m at mullenweg.com> wrote:
> Robert Deaton wrote:
> > Writing to the database is expensive. Here's an example of
> > computational hashes (very simple) that have a variable lifetime, a
> > minimum of 12 hours, a maximum of somewhere around 59 hours, the
> > minimum is easily adjustable, the maximum is slightly harder, but
> > nothing insurmountable, just requires a bit of math. Obviously, salt
> > of some sort should be added, action parameters, etc., but this is
> > just a really, really simple proof of concept.
>
> You get a star for being the first person to post code. :)
Do I get another for being the first to correct it? Or perhaps a gold
star? A smiley face sticker?
s/43200/56800/ in the above
--
--Robert Deaton
http://somethingunpredictable.com
More information about the wp-hackers
mailing list