dongliao4353 2015-11-27 08:12
浏览 51

当数据库列值加密时,如何在Laravel中执行更好的搜索?

Recently I come across this request: the columns values must be encrypted, even programmers (means the programmers for this project) also cannot access the database.

What I can think of is to encrypt all the columns data, which I found the solution here. But then another issue comes, if I want to perform search, and columns are encrypted, which mean I cannot use WHERE to filter the result, instead, I have to retrieve all the records from the table, then only filter by PHP script. I just couldn't imagine if there are 10mil records...

Anyone of you facing this kind of problem? Can suggest any solutions here.

Thanks

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 matlab实现基于主成分变换的图像融合。
    • ¥15 对于相关问题的求解与代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
    • ¥15 保护模式-系统加载-段寄存器
    • ¥15 电脑桌面设定一个区域禁止鼠标操作
    • ¥15 求NPF226060磁芯的详细资料
    • ¥15 使用R语言marginaleffects包进行边际效应图绘制
    • ¥20 usb设备兼容性问题
    • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊