config Files and Sensitive Info

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In my VB.Net Windows app, I am storing certain information in the App.config
file. Howerver, there is certain information I would like to store there but
am hesitant to because I don't want it changed, modified, etc.

Is the App.config file still a good place for this, and if so, is there a
way to encrypt it so that the user has no idea what the value is? Or should
I be storing this elsewhere?

For example, my app times out after 30 days. I want to store the install
date somewhere, but if I install it in the App.Config, the users who know
what they are doing can modify this date.

Thoughts?
 
Write the install date into the registry and encrypt it. Just make sure you
remove the entry if the user uninstalls your app!
The config file is way to easy to modify.
 
Thanks Greg. I was leaning toward putting it there, but wanted to hear what
others said.

Scott

Greg said:
Write the install date into the registry and encrypt it. Just make sure you
remove the entry if the user uninstalls your app!
The config file is way to easy to modify.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top