How can I know if a file has been changed in .NET C#?
Posted
by Anthony D
on Stack Overflow
See other posts from Stack Overflow
or by Anthony D
Published on 2010-03-11T16:53:05Z
Indexed on
2010/03/11
17:19 UTC
Read the original article
Hit count: 231
I have an application that requires a secure way to store its configuration. There are users that can change the configuration. I need some sort of signature scheme where I can verify that the config file has not changed with out a valid user. I had thought about using RSA, where the private key is encrypted with the users password, and the public key is used to sign the config. However there is nothing to prevent someone from changing the user file and adding their own public key, thus circumventing my security. Any ideas?
© Stack Overflow or respective owner