如何为XML数据库文件添加安全性 [英] How to add security to XML database file

查看:77
本文介绍了如何为XML数据库文件添加安全性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说 XML数据库文件没有证据(可以在外部轻松访问)并搜索了很多,但无法找到答案。任何人都可以为我提供一个为XML数据库文件添加安全性的解决方案。





提前致谢

I have heard that XML database file don't have securities (can be accessed easily externally) and searched a lot but cant find any answer. Can anyone provide me a solution to add security to XML database file.


Thanks in advance

推荐答案

您可以使用数据加密



http://www.techrepublic.com/article/protect-sensitive-data-with-the-xml-encryption-protocol/ [<一个href =http://www.techrepublic.com/article/protect-sensitive-data-with-the-xml-encryption-protocol/target =_ blanktitle =New Window> ^ ]
You can use encryption of data

http://www.techrepublic.com/article/protect-sensitive-data-with-the-xml-encryption-protocol/[^]


与解决方案1中一样,您可以部分加密内容。另一种方法是整个加密文件并在打开时解密它。有很多文章涉及例如AES 256加密:



https://www.google.com/search?q=aes%20256%20encryption%20c%23& [ ^ ]
As in Solution 1 you can encrypt the content partially. Another way would be encrypt the file in whole and decrypt it when it is opened. There are lots of articles concerning for example AES 256 encryption:

https://www.google.com/search?q=aes%20256%20encryption%20c%23&[^]


这篇关于如何为XML数据库文件添加安全性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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