我如何读写加密的XML文件? [英] How would I read and write encrypted XML files?
本文介绍了我如何读写加密的XML文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
在$ code> System.Security.Cryptography.Xml命名空间中,您的一次性可以使用一整套可用于保护XML数据的全面集合。
花一些时间阅读以下文章MSDN文章:
如果您访问任何链接的文章的导航菜单中的根节点,您可以查看更多关于XML安全性的文章。
How would I approach reading and writing encrypted XML files? I need a way to save the user's last entered values for a form, but I don't want them to be readable as plain text or XML.
解决方案
There is a comprehensive collection of classes available at your disposable to secure XML data in System.Security.Cryptography.Xml Namespace
.
Take some time to read the following articles MSDN articles:
- How to: Encrypt XML Elements with Symmetric Keys
- How to: Decrypt XML Elements with Symmetric Keys
- How to: Sign XML Documents with Digital Signatures
If you visit the root node in the navigation menu on any of the articles linked you can view more articles on XML security.
这篇关于我如何读写加密的XML文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文