public
Description: Generates common user authentication code for Rails/Merb, with a full test/unit and rspec suite and optional Acts as State Machine support built-in.
Home | Edit | New

TODO

Authentication security projects for a later date

  • Track ‘failed logins this hour’ and demand a captcha after say 5 failed logins
    (RECAPTCHA plugin.)
    in which case we’d better recommend “De-proxy-ficating IP address”: http://wiki.codemongers.com/NginxHttpRealIpModule
  • Make cookie spoofing a little harder: we set the user’s cookie to
    (remember_token), but store digest(remember_token, request_IP). A CSRF cookie
    spoofer has to then at least also spoof the user’s originating IP
    (see Secure Programs HOWTO)
  • Log HTTP request on authentication / authorization failures (see here )
Last edited by mrflip, Mon May 19 08:56:03 -0700 2008
Home | Edit | New
Versions: