C#.net Large Enterprise Information System integration rapid development platform 4.2-prevent off-Library, prevent tampering with data

Source: Internet
Author: User
Tags asymmetric encryption

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.