Binary protocol thru HTTP
I have a binary full-duplex unsecure protocol. Now I have to make it
- secure.
- working everywhere.
For this purpose I want to use HTTP as a transport protocol.
- Should I create security encription on the binary level or just use HTTPS?
- Is there开发者_Go百科 a library with Send/Receive interface, that utilizes http channel?
- How efficient is using HTTP?
Regards.
Like Bruno says in his comment: Use SSL. Plenty of libraries for all platforms. All the security without the complexity of HTTP you have absolutely no use for anyway. Use port 443 on the server, and no third party or intermediary will be able to distinguish your traffic from HTTPS traffic. (don't confuse "port" and "protocol".)
Also if you don't mind sharing more information about the purpose and nature of this "full duplex binary protocol", we could recommend even better existing solutions, like SRPT.
精彩评论