19
A Web Framework For Selective Encryption Richie Steigerwald

A Web Framework For Selective Encryption

  • Upload
    bary

  • View
    19

  • Download
    0

Embed Size (px)

DESCRIPTION

A Web Framework For Selective Encryption. Richie Steigerwald. Privacy on the Web. Session Cookies. Session Cookies. HTTPS. Why HTTPS is slow. HTTPS. HTTPS stands for Hypertext Transfer Protocol over Secure Socket Layer, or HTTP over SSL - PowerPoint PPT Presentation

Citation preview

Page 1: A Web Framework  For Selective Encryption

A Web Framework For Selective Encryption

Richie Steigerwald

Page 2: A Web Framework  For Selective Encryption

Privacy on the Web

Page 3: A Web Framework  For Selective Encryption

Session Cookies

Page 4: A Web Framework  For Selective Encryption

Session Cookies

Page 5: A Web Framework  For Selective Encryption

HTTPS

Page 6: A Web Framework  For Selective Encryption

Why HTTPS is slow

Page 7: A Web Framework  For Selective Encryption

HTTPS• HTTPS stands for Hypertext

Transfer Protocol over Secure Socket Layer, or HTTP over SSL

• SSL acts like a sub layer under regular HTTP application layering

• HTTPS encrypts an HTTP message prior to transmission and decrypts a message upon arrival.

Application (HTTP)

Security (SSL)

Transport (TCP)

Network (TCP)

Data Link (PPP)

Physical (modem, ADSL, cable)

Page 8: A Web Framework  For Selective Encryption

HTTPS

• Authentication• Integrity• Privacy

Page 9: A Web Framework  For Selective Encryption

Authentication

Integrity

Privacy

Selective Encryption

• Authentication– Encrypt cookies

• Data integrity– Encrypt data checksum

• Data privacy– Encrypt private data

Page 10: A Web Framework  For Selective Encryption

Authentication

• For all requests, encrypt– Cookie– Secret Code

• For all responses, encrypt– Secret Code

Page 11: A Web Framework  For Selective Encryption

Integrity

• Perform authentication related encryption

• In the response, attach and encrypt checksum with secret code

Don’t read

this while I’m

presenting! If

this is

distracting

you then I

guess my presentation is pretty boring anyway. I actually wrote this presentation this morning. I hope it’s going well. Anyway, here’s something interesting: Apparently some brothel in Borneo (dunno WTF that is) was using a shaved orangutan as a sex slave. I just saw that on reddit. Maybe you’re looking at reddit right now, I don’t blame you.

*(a$TH(0et1?be912zHZ&?

Page 12: A Web Framework  For Selective Encryption

Privacy

• Perform authentication related security

• Encrypt the entire request/response

SSL in the 90’s

Page 13: A Web Framework  For Selective Encryption

Framework Interface

• Developers should only have to specify what level of security to use

• Framework should keep track of sessions and perform checksums automatically

Page 14: A Web Framework  For Selective Encryption

Server

• Keep track of sessions– Guarantee it’s the same

person

• Checksums

• Encryption

Page 15: A Web Framework  For Selective Encryption

Client

• Decrypt and verify secret code

• Decrypt and verify checksum

• Decrypt private data

• Sandbox received code

Page 16: A Web Framework  For Selective Encryption

Validation

• Guarantee authenticity with near-HTTP speeds

• Guarantee integrity with speeds faster than HTTPS

Page 17: A Web Framework  For Selective Encryption

Performance

• Checksum faster than encryption

Page 18: A Web Framework  For Selective Encryption

Problems

• Tradeoff speed vs. privacy

• Encrypting shorter messages easier to crack

Page 19: A Web Framework  For Selective Encryption

Questions