我如何读写加密的XML文件? [英] How would I read and write encrypted XML files?

查看:279
本文介绍了我如何读写加密的XML文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何处理阅读和编写加密的XML文件?我需要一种方法来保存用户最后输入的表单值,但我不希望它们以纯文本或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:

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屋!

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