Can I distribute a .NET app that uses a key that the user can’t access, but the app can?
Note that I am using the word distribute in the sense that the application is delivered to run in the user’s computer, not in a cloud or cluster.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Anything in your application can be accessed by a skilled enough user.
This is why games and the like moved from storing key algorithms inside the program to verifying with an outside, game manufacturer owned server.
If you’re just trying to keep out the average joe, just hash it and store it like any other variable..like a padlock on a door, it won’t keep out the determined user, but keep honest men honest.