开发者

Binary protocol thru HTTP

I have a binary full-duplex unsecure protocol. Now I have to make it

  1. secure.
  2. working everywhere.

For this purpose I want to use HTTP as a transport protocol.

  1. Should I create security encription on the binary level or just use HTTPS?
  2. Is there开发者_Go百科 a library with Send/Receive interface, that utilizes http channel?
  3. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜