在部署到客户端PC后,不要复制和/或附加我的数据库 [英] keep my database from being copied and or attached after deploying to client PC

查看:53
本文介绍了在部署到客户端PC后,不要复制和/或附加我的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我完成了我的WPF应用程序和SQL 2008 R2数据库后我需要安装一个程序包安装到我们的客户端我已经使用install shield 2010完成了这个并将我的数据库作为在我们的用户上创建的脚本我们在客户端PC上创建数据库并且脚本在SQL Server 2008的默认路径中创建它后,我们已经完成了所有这些问题我发现每个人都可以停止SQL服务并复制数据库并且偷了它以便如何防止我的数据库被复制或附加以防止黑客入侵?

解决方案

一个想法

加密数据库中的重要数据并对应用程序中的密钥进行模糊处理,以使某人难以找到密钥字符串。



请参阅 TripleDESCryptoServiceProvider Class [ ^

hi guys,
after i finish my WPF application and SQL 2008 R2 Database i need to make a package to be installed to our clients i have done that using install shield 2010 and took my database as a script to be created on our user we have done all of that the problem after we create database on our client pc and the script create it in the default path of SQL Server 2008 i found that every one can stop SQL service and copy the database and stole it so how can i prevent my database from being copied or attached to keep it safe from hackers ?

解决方案

One idea
Encrypt important data in the database and obfuscate the key within your application to make it difficult for someone to find the key string.

See
TripleDESCryptoServiceProvider Class[^]


这篇关于在部署到客户端PC后,不要复制和/或附加我的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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