Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DataProtectionConfigurationProvider decryption

Posted on 2012-12-28
1
Medium Priority
?
570 Views
Last Modified: 2013-05-01
I am working on a winform application that uses a config file to connect to my server. Now I want to make the IP address of my server ecrypted. So I put the ip address in the appSettings section and encrypted it using DataProtectionConfigurationProvider. I do the ecnryption process during the installation/deployment process. I want to know the following:
1) Can anyone, the user, decrypt appSettings in the config file?
2) If tomorrow I planned to change the ip address of my server, is there a way to update that at the user side using a patch rather than sending a new release, build.
0
Comment
Question by:shoeb_fbd
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 1000 total points
ID: 38730952
The user shouldn't have access to the config file, unless the web site is grossly misconfigured.  If you want to change the app.config file, then you could do a release of just the new exe.config file.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Loops Section Overview
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question