web services: best way to encrypt and compress web traffic

What is the best way to encrypt the traffic to and from web services. also does anyone have any strategies for compressing the data.

thanks in advance

greg
LVL 8
AutoeformsAsked:
Who is Participating?
 
mydasxCommented:
for encryption, the easiest would be use SSL.  Https will encrypt your data just fine.  If you need your data to be further encrypted, i.e. you want to encrypt the data inside the body, use binary serialization for your payload, the binary w/ MS's Encryption Application Block.  .net also now has System.IO.Compression.GZipStream for zipping your files up.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.