Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
761 views
in Technique[技术] by (71.8m points)

python - Secure connection/encryption using sqlalchemy/pyodbc/pymssql

I am using sqlalchemy/pyodbc to communicate with sql server. I am facing the following problem - Some of the functionalities involve uploading sensible information to the server and secure connection/data encryption is needed.

I was suggested to use FreeTDS+pymssql. Can someone explain what is the idea behind it(how does it work) and more importantly is there a solution that doesn't involve switching to pymssql but rather staying with pyodbc.

Another question is also - Does anyone have information regarding the uploading speed of pyodbc compared to pymssql. I know that in the past pymssql was underperforming.

    self.engine = sal.create_engine(f'@{server}/{database}?trusted_connection=YES &driver=ODBC+Driver+13+for+SQL+Server',poolclass=NullPool)
    self.conn = self.engine.connect()
    

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...