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