0
Thinking about security, and minimizing the problems in case someone disabled can have remote access to the database server, I thought to encrypt the critical data.
Critical data examples (defined by the client):
- Credit card number: string;
- Credit card security code: whole;
- Wages: currency;
- Social reason: string;
- CPNJ: string;
- Full name: string;
- CPF: string;
- Revenue values: currency;
- Dates of receipt: currency;
But it would not be feasible if it lost functionality in the encrypted fields like:
- order by CAMPO_CRIPTOGRAFADO
- group by CAMPO_CRIPTOGRAFADO
- Where/having CAMPO_CRIPTOGRAFADO like 'AB%'
- Where/having CAMPO_CRIPTOGRAFADO between 50 and 56
- Where/having CAMPO_CRIPTOGRAFADO between '2016-01-01' and '2016-01-31'
- Where/having CAMPO_CRIPTOGRAFADO > 23
- Where/having CAMPO_CRIPTOGRAFADO < '2016-01-01'
Is there any relational database, preferably freeware, that supports field encryption without losing the above features?
I don’t know this, thinking theoretically it must be complex to decrypt, so I believe that if I find something with these properties it will be as deceptive as not having encryption.
– pmargreff
@pmargreff, all the houses have keys or padlocks, and all the keys are swindlable, but that’s why you keep locking your house, isn’t it? I know there’s nothing 100% safe, but I’ll try to make it as difficult as possible.
– Allan Andrade
– Lacobus
@Allanandrade but this you are not considering the extra effort to do the reordering (which you even asked the question), imagine having to check the sofas of the houses according to their size, it is easier and faster to keep all doors locked and keep opening one at a time for checking or keeping a good number of security guards on the street and open houses?
– pmargreff
What you want is already possible in theory - look for "Homomorphic cryptography" for more details. However, as far as I know, only IBM was able to actually do it as proof of concept a few years ago. That is, this is still far from being available to the general public, I do not believe that there is any database today that implements the technique, much less freeware.
– mgibsonbr
@mgibsonbr Thank you so much for the tip!
– Allan Andrade
@Allanandrade Has the answer solved what was in doubt? Do you need something else to be improved? Do you think it is possible to accept it now?
– Maniero