Feature request: Column level encryption/decryption

Posts   
 
    
alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 02-Feb-2005 23:54:45   

Obviously PKs and FKs couldn't be encrypted, nor could searchable fields or fields with constraints.. LLBLGen could do the encryption on saves and decrypt the data during a fetch. Encryptable columns could be selected in the designer.

Just a suggestion...

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 03-Feb-2005 08:59:00   

You mean a password field or a textfield? And which kind of encryption do you have in mind?

Frans Bouma | Lead developer LLBLGen Pro
alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 04-Feb-2005 06:02:43   

Otis wrote:

You mean a password field or a textfield? And which kind of encryption do you have in mind?

I don't suppose it matters what kind of field as long as it doesn't interfere with the adapter's fetching routines.

For example, I have a customer who I built a typical forms system for. Even though it's their software, they are not legally allowed to see any of the financial data in the database since it is submitted by THEIR customers. Most of the fields in the database are for financials and they are never used to filter the data on. The filtering is done on the CustomerID or ReportID fields.


ReportEntity report = new ReportEntity();
report.LineA = 23;
adapter.SaveEntity(report, true);

Assert(report == 23);


In the database, 23 would be some illegible string (your choice of encryption type). I could encrypt 23 myself before I assigned it to LineA, but how much fun is that? simple_smile

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 04-Feb-2005 10:36:54   

I see what you mean. Point is though: if I can do decryption, so can they. simple_smile

Frans Bouma | Lead developer LLBLGen Pro