.net - Tamper proof a file in VB.NET -
i have small scripting engine written can run basic code. want if user protects code, no 1 should able open code except program.
now found link: http://www.codeproject.com/kb/aspnet/tamperproofquerystring.aspx encrypts code using base64 encoding. uses key encrypt , decrypt.
i wondering how can store key in app no 1 else comes know. obfuscate program strings, etc. not readable. helps. apart using variable , storing key in exe file itself. other secure options have?
is logic of encrypting , decrypting using method above secure? want adequate security, maybe not fantastic one.
plus benefit of code above not need create temporary file decrypt way user can't search temporary files or so.
i glad if can provide valuable advice.
this question asked on , on again. in brief, if application has access key, can make access key harder, not impossible (on general-purpose hardware , software, @ least). on closed , locked systems gaming console private keys sooner or later extracted hardware.
in brief: want offer user kind of software protection pseudocode. task has not been reliably solved native code , interpreted code task more complicated.
good obfuscation of key drive away not-very-skilled attackers. simplest way obfuscate key use text phrase of program key. makes operations key less obvious occasional lurker (professionals know different ways find encryption keys in application).
another problem user's code must decrypted in order executed engine, right? , @ moment average-skilled hacker can capture memory , pick script memory.
Comments
Post a Comment