Some irrelevant data, was taken off the library what, there is nothing, but some of the more important data is taken off the library, although there may be no serious loss, but will be very ashamed of the same, was burst off the library of what, will always be more embarrassing, to tell the truth is also quite embarrassing, can be more defensive, there are loopholes in the shortcomings of
In order to prevent unnecessary trouble, we can use out-of-the-box encryption function, the need to pass the parameters to encrypt processing, such as some of the destruction of the molecular clutch, it is not easy to grasp out, it is not easy to take the overall data off the library. The following figure is a reference method, but also need to be compatible with internal calls, the simpler the better the package, the more difficult the call, the problem is not easy to troubleshoot.
When a client needs to save the user's login information, the user's login verification information needs to be passed to the server, the real-time reading from the database, it will require a lot of valuable resources of the database, resulting in a large database reading and writing pressure, when the information passed directly from the user information, Will have encountered the criminals to tamper with the data security loopholes, how can you reduce the reading and writing pressure of the database? And to prevent criminals from tampering with the data? That is to digitally sign the data, so that the server Colonel to verify the data signature is correct? If the incorrect is to tamper with the user information, if the digital signature is correct, you can think that this information is valid, legitimate and safe.
The following method is a self-implemented, relatively simple signature function. It is also possible to implement the asymmetric encryption of the public key, the security will be higher, to see their actual needs to choose the strength of the signature.
C#.net Large Enterprise Information System integration rapid development platform 4.2-prevent off-Library, prevent tampering with data