MSSQL 的 Python 客户端,具有加密连接?

发布于 2024-09-16 08:22:42 字数 127 浏览 0 评论 0原文

我正在寻找一款适用于 MSSQL 的 Python 客户端,但它支持与远程 MSSQL 服务器的加密连接

有人可以推荐一种使用 Python 通过加密连接从 MSSQL 读取数据的技术吗?

I am looking for a Python client for MSSQL, but one that supports encrypted connections to a remote MSSQL server.

Can someone recommend a technique for using Python to read from MSSQL, over an encrypted connection?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

内心荒芜 2024-09-23 08:22:42

加密通常是 MSSQL 客户端库和/或操作系统的一项功能,而不是 Python 的一项功能。因此,首先弄清楚您想要使用哪种加密机制,然后看看如何从 Python 中使用它。

MSSQL 可以配置为支持甚至需要来自客户端的加密连接:

http:// msdn.microsoft.com/en-us/library/ms191192.aspx

这意味着任何使用本机 MSSQL 客户端驱动程序的 Python 库都将支持加密,这可能意味着 Windows 上的 adodbapi 或 pymssql 之类的功能。

您还可以考虑在操作系统级别实施某些措施来加密所有网络流量,甚至网络级别(使用 VPN)。根据您的要求,这可能会更容易,但这可能是 http://serverfault.com 的问题。

Encryption is usually a feature of the MSSQL client library and/or the OS, not Python. So first work out what encrpytion mechanism you want to use, then see how you can use it from Python.

MSSQL can be configured to support and even require encrypted connections from clients:

http://msdn.microsoft.com/en-us/library/ms191192.aspx

That means that any Python library that uses the native MSSQL client drivers would support encryption, which probably means something like adodbapi or pymssql on Windows.

You could also look into implementing something at the OS level to encrypt all network traffic, or even the network level (using a VPN). It might be easier, depending on your requirements, But it's probably a question for http://serverfault.com.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文