如何保护WPF中的app.config,C# [英] How to secure app.config in WPF, C#

查看:201
本文介绍了如何保护WPF中的app.config,C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我开发了一个应用程序,我的app.config文件中有一些重要数据需要运行应用程序,我的问题是,当我发布我的应用程序时,我在我的发布文件夹中看到了app.config文件。我不想对这些数据使用注册表文件,我的问题是如何保护或保护我的app.file免受最终用户的影响,有没有办法将其保存在exe内?或至少任何确保没有人可以入侵它的方法。我的申请是WPF,C#,VS2012



谢谢

Hi I have developed an application, I have some important data in my app.config file require to run the application, My problem is that when I published my application I saw app.config file in my publish folder . I do not want to use registry file for those data, My question is that how can I protect or secure my app.file from end user, is there any way to keep it inside exe? or at least any method that ensure no one can hack into it. my application is WPF, C#, VS2012

Thank You

推荐答案





您可以尝试本文中概述的解决方案:

使用Windows应用程序实施受保护的配置 [ ^ ]



祝你好运



Graham
Hi,

You could try the solution outlined in this article:
Implementing Protected Configuration With Windows Apps[^]

Good luck

Graham


这篇关于如何保护WPF中的app.config,C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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