Reputation: 28374
If I am serving all of my web content over SSL, do I need to do another layer of encryption and sign my cookie data?
Upvotes: 0
Views: 59
Reputation: 137487
SSL/TLS only offers protection against communications being intercepted and/or modified. It guarantees nothing about text files sitting on a client's hard drive (i.e. cookies).
If you want to prevent a user from presenting your web application with falsified cookie information, then yes, you need to sign your cookie data. If you want to prevent a user from seeing the cookie data, then you should encrypt it as well.
Upvotes: 2