I have a program that uses text file to read and write it's configuration data in a "property=value" format. But in this way any user can just open the config file and edit properties "outside" of the program, which is inadmissible under my task. What other approachs can you recommend for more safe storage of config data? Any tips are appreciated :)
3 replies to this topic
#1
Posted 05 October 2011 - 03:16 AM
|
|
|
#2
Posted 05 October 2011 - 04:21 AM
You could encrypt your config file
Or insted of having something like this
user=5
data=b
line=4
...
You could simply have 5b4
It's a lot harder to see what does what.
And if you add encryption on top of that you should be ok.
Or insted of having something like this
user=5
data=b
line=4
...
You could simply have 5b4
It's a lot harder to see what does what.
And if you add encryption on top of that you should be ok.
#3
Posted 05 October 2011 - 04:38 AM
Vaielab, thanks, I've thought about the encryption too.
Is it any simple crypto library for .NET?
Is it any simple crypto library for .NET?
#4
Posted 05 October 2011 - 05:23 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









