What technique can protect a secret from a fully trusted user?

后端 未结 6 1852
后悔当初
后悔当初 2020-12-23 13:14

I am programming a system using C#. My program generates a small message (a hash digest for a file) that I want to store on the hard disk - but I don\'t want the user to be

6条回答
  •  生来不讨喜
    2020-12-23 13:31

    In one of the comments to another answer, you wrote:

    It's an attempt to make a certain log file tamper proof.

    If that's really the case, then perhaps you should take a different approach and move the log file to a place where the user is not fully trusted (ie: some other system).

    Otherwise, you cannot guarantee the security of the file (as others have mentioned).

提交回复
热议问题