Atitit. Database security critical sensitive data encryption storage solution

Source: Internet
Author: User

Atitit. Database security critical sensitive data encryption storage solution

1 . 1. the importance of encrypted storage 1

1 . 2. encryption algorithm used by AES 1

1 . 3. there will be some problems after data encryption. 1

1 . 3.1. One is statistics, such as the total amount of statistical funds. You cannot directly use the Database internal aggregate functions, such as SQL sum, to process the. 1

1 . 3.2. Another is to search by the amount, such as how much money below the user. 1

1.1. the importance of encrypted storage

Especially for some financial related, Account module funds module and so on.

You can prevent database administrators or hackers from using database management tools to see important, sensitive data directly.

The program and database must be combined to see the decrypted data. greatly improve security.

1.2. encryption algorithm used by AES

Data sheet inside the data all AES encrypted storage ...

Author :: ★ (Attilax) >>>    nickname : old-Wow paw   (   full name:: ATTILAX AKBAR AL RAPANUI&NBSP, Attilax &NBSP, " "  Al   Rapa Nui &NBSP,   Kanji name: Ayron, Email:[email protected]

reprint Please indicate source: http://www.cnblogs.com/attilax/

1.3. there will be some problems after data encryption. 1.3.1. One is statistics, such as the total amount of statistical funds. You cannot directly use the Database internal aggregate functions, such as SQL sum, to process the. 1.3.2. Another is to search by the amount, such as how much money below the user.

Because the original Money field is a decime or other numeric type, it is now all a varchar type, once the encrypted number is stored.

Statistical workaround: Use the aggregation functions of the programming language to implement

For example select Com.attilax.pkg.class1.method1 (column1) as total from table1

some of the more convenient ways you might use LINQ :

Search by Amount : an Indexing Service within a biz system is required to Impalelet

First query from Biz Index, there is an ID table : in the From DB Inside child Query ...

Atitit. Database security critical sensitive data encryption storage solution

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.