如何保护我的python套接字包[关闭]

问题描述 投票:-1回答:1

我在python中有TCP / IP套接字客户端/服务器程序。我想保护这些数据包。我想知道你对此的看法。先感谢您。

python python-3.x python-2.7 security server
1个回答
0
投票

一个好的方法是使用OpenSSL将数据包包装在SSL中(Secure Socket Layer,它是用于在HTTPS中保护连接的协议)。

pyOpenSSL存储库有一个example project,可用于构建应用程序。

© www.soinside.com 2019 - 2024. All rights reserved.