Home > Net > The theory of how to protect the.net application database connection code
The theory of how to protect the.net application database connection code
Time:02-05
Seen many.net program, no matter how to disturb, how to call the c language to write the class library of encryption, can all be decompiled software, direct the caller's part of the code for the database connection, you have a good idea?
CodePudding user response:
The topic 1, the.net program entrance to determine the number of arguments, if the number is 0 (direct) indicates that the starter starts, quit, 2, the initiator by the go language (other can also, mainly against decompiling), code and the database connection. The.net application md5 value stored in the starter, 3, starter runtime checks.net application of md5 value (determine whether changes), again when meets the requirements to start the parameter way..net application,
CodePudding user response:
Considered using Windows messaging, afraid of being hook, also considered using udp to transfer, or afraid of being caught, now I haven't heard of initiator by parameters can be obtained, please advice,
CodePudding user response:
Architecture solved! Database access permissions on the server, the server hold yourself database information. The client can only through the interface to access data, the database information can't get