Hibernate Encryption of Database Completely Transparent to Application

前端 未结 7 1005
春和景丽
春和景丽 2021-02-03 12:59

I\'m working on a Grails 1.0.4 project that has to be released in less than 2 weeks, and the customer just came up with a requirement that all data in the database should be enc

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-03 13:37

    Another option is to use a JDBC driver that encrypts/decrypts data on the fly, two way. Bear in mind that any solution will probably invalidate searches by encrypted fields.

    IMHO the best solution is the one proposed by longneck, it will make everything much easier, from administration to development. Besides, bear in mind that any solution with client-side encryption will render all your db data unusable outside of the client, ie, you will not be able to use nice tools like a jdbc client or MySQL query browser, etc.

提交回复
热议问题