Rails 3 came out recently, and the developers made a significant change that really improves the security posture of Rails 3. They really embraced the "secure by default" security principle in their efforts to eliminate cross-site scripting. Previously, unsafe user data had to be explicitly HTML encoded in order to avoid cross-site scripting. This was done using the "h" tag. For example:
<%= h(@unsafe_user_input) %>
In Rails 3, the default is to automatically HTML encode. The "h" tag is no longer necessary. Instead, developers must go out of their way to output HTML content to the page using the "raw" tag. For example:
<%= raw(@unsafe_user_input) %>
I think the Rails developers took a really strong stance on this issue and it will result in a safer Ruby on Rails ecosystem.
Please see the video below for more details:
http://rubyonrails.org/screencasts/rails3/xss-ujs
There is also a really great Rails security guide found here:
http://guides.rubyonrails.org/security.html
Monday, August 30, 2010
Friday, July 23, 2010
OWASP AppSec Research 2010 Stockholm Conference Videos Posted!
The presentation videos from the OWASP AppSec Research 2010 Conference in Stockholm, Sweden are now available!
My Presentation slides can be found here:
A video of the presentation is also available:
The rest of the videos and presentation slides can be found here:
My Presentation slides can be found here:
A video of the presentation is also available:
The rest of the videos and presentation slides can be found here:
- http://www.owasp.org/index.php/OWASP_AppSec_Research_2010_-_Stockholm,_Sweden#tab=June_23
- http://www.owasp.org/index.php/OWASP_AppSec_Research_2010_-_Stockholm,_Sweden#tab=June_24
- http://www.flickr.com/photos/holiman/sets/72157624428046528/
- http://www.flickr.com/photos/51810233@N04/sets/72157624316862061/
- http://www.flickr.com/photos/51810233@N04/sets/72157624438812472/
- http://www.flickr.com/photos/51810233@N04/sets/72157624441596030/
Thursday, June 24, 2010
OWASP AppSec Research 2010 Pictures
The OWASP AppSec Research 2010 Conference in Stockholm, Sweden ended today. I took a quite a few pictures and I thought I would post a couple of them. Please enjoy!
Aula Magna (Conference Venue)
Track 1
Day 1 Keynote with Chris Evans, Google
Day 2 Keynote with Steve Lipner, Microsoft
Gala Dinner at Stockholm City Hall
Conference Closing Remarks and Thanks
Subscribe to:
Posts (Atom)