20 May 2013

The Ruby Reflector

Topic

CSRF

  Source Favicon
By Assaf of Labnotes 5 months ago.
Email

…secure express.js apps : don't run as root, secure your sessions, security headers and CSRF.

§ Using web fonts in email .

§ jeremydmiller :

I think there's a Heisenberg Uncertainty Principle thing w/ software process. Measuring my "progress" has an impact on my progress

§ And now for some local news: South Bay couple kidnap handyman, force him to repair household appliances .

blog.labnotes.org Read
  Source Favicon
By Patrick of Kalzumeus Software over 1 year ago.
Email

My personal understanding of Rails up until an hour ago was that a CSRF violation would raise an exception. This would practically never get seen by a legitimate user operation, so few people are aware of that, but I had seen it a time or two when security auditing BCC. (Some of my geeky friends had, back in the day, exploited BCC with a CSRF and helpfully told me how to fix it. Naturally, after fixing it I verified that the site worked as expected with the fix.)

So if the CSRF

kalzumeus.com Read
  Source Favicon
By José Valim of Plataformatec Blog over 2 years ago.
Email

Devise 1.1.6 has just been released and it follows Rails 3.0.4 release. Rails 3.0.4 changes how CSRF works and adds a new method called handle_unverified_request that should be properly overridden by authentication frameworks. Devise 1.1.6 implements this method and others small security fixes.

If you have updated to Rails 3.0.4, you must update to Devise 1.1.6 . Those using Devise 1.2.rc should use master for awhile, another RC is coming soon. For more information, check out the CHANGELOG .

blog.plataformatec.com.br Read
  Source Favicon
By michael of Riding Rails - home over 2 years ago.
Email

There are two major changes in this fix, the behaviour when CSRF protection fails has changed and the token will now be required for all non-GET requests.

After applying this patch failed CSRF requests will no longer generate HTTP 500 errors, instead the session will be reset. Users can override this behaviour by overriding handle_unverified_request in their own controllers.

Users must still take care that users cannot be auto logged in via non-session data. For example, an application …

weblog.rubyonrails.org Read
  Source Favicon
By Trevor of Trevor Turk over 2 years ago.
Email

…app showing SWFUpload working in tandem with restful-authentication, CSRF protection and paperclip.

kabuki/heresy - GitHub

Heresy is a schema free wrapper around your database, heavily inspired by both CouchDB and FriendFeed.

enriquez/ezpz-hint - GitHub

A simple jQuery plugin for showing a text field's label inside the textbox itself. The hint disappears when it is given focus, and appears again if the inputted text is empty. Typically used for search …

almosteffortless.com Read