开发者

Python client for MSSQL, with encrypted connections?

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 MSSQ开发者_运维问答L, over an encrypted connection?


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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜