Talking head
MountainWest RubyConf 2013

This presentation, by Eleanor McHugh, is licensed under a Creative Commons Attribution ShareAlike 3.0

This session is a jolly romp through the realm of practical data privacy using pure Ruby. We'll start by looking at how to obfuscate data using Ruby's OpenSSL bindings, exploring the possibilities of symmetric and public key cryptography as well as the role of hashing algorithms. Once the basic principles have been established we'll turn our attention to designing databases with a strong privacy component, using Sequel to demonstrate how encrypted keys can be used to support privacy in the relational model. There will be some meta-programming involved which should also be of interest to ActiveRecord users. This will naturally lead into a brief discussion of the seeming difficulty of searching encrypted data along with a strategy for making this practical. We'll round out the session by turning our attention to the transport layer with a simple scheme for securing web application sessions using a custom Rack middleware. The discussion will be backed by code examples inspired by real-world systems.

Rated: Everyone
Viewed 2,004 times
Tags: There are no tags for this video.