使用C#代码在mySQL中加密数据 [英] encrypt the data in mySQL using C# code

查看:256
本文介绍了使用C#代码在mySQL中加密数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

香港专业教育学院制作试用版应用程序.它的工作正常,但我确实需要在mySQL中加密数据或阻止用户访问各自的数据库.试用版后,用户无法访问和查看mySQl数据库.有人可以帮助我吗?

Hi all,

Ive making trial version application. Its works fine but i do need to encrypt the data in mySQL or block the users for the respective database.The user can''t access and view the mySQl database after trial version. Anyone can help me?

Thanks u and really appreciate ur help.

推荐答案

您可以先将数据压缩到数据库中,然后再将数据解压缩.将此用作提示
http://www.eggheadcafe.com/教程/aspnet/064b41e4-60bc-4d35-9136-368603bcc27a/7zip-lzma-inmemory-com.aspx [ http://www.7-zip.org/sdk.html [
You can compress data before You put them in database and uncompress data when going in other direction. Use this as a tip
http://www.eggheadcafe.com/tutorials/aspnet/064b41e4-60bc-4d35-9136-368603bcc27a/7zip-lzma-inmemory-com.aspx[^] and then later go to http://www.7-zip.org/sdk.html[^]. I did not play much with this SDK but i think LZMA is password enabled.


这篇关于使用C#代码在mySQL中加密数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆