我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Yii2 - 如何跨用户会话安全地存储和访问敏感数据

The database in my PHP Yii2 framework based web application is encrypted and I will be generating the encryption key based off the user password. Is there a secure way to store this in the memory so that it can be used when required?

I believe saving it as a sessions variable will get it written to the disk and perhaps I may want to avoid that.

近期文章

  • 如何将集合转换为具有嵌套数组的自定义键/值数组
  • 如何在每次单击按钮然后使用它进行查询时获取php变量?
  • 将本地语言的Php函数替换为更改位置为Unicode
  • 使用phpunit 6.5.1 symfony 3.4按钮问题进行功能测试
  • Wordpress返回preg_replace - 内容消失了
  • 在laravel mvc中更新视图而不重新加载
  • php - 在外部页面上使用session的变量
  • 如何将输入文本值发送到另一个页面并自动完成错误
  • Magento 2:仅在类别视图上更改价格
  • 解析UTF8文本时反斜杠导致问题
  • 在同一网页上显示警告/弹出消息框?
  • Laravel登录表单,如何显示用户输入了哪些数据?
  • 使用预准备语句构建PDO动态查询
  • 获取mailchimp的列表
  • Debian - 端口重定向
  • 是否可以为所有用户只打开一个数据库连接?
  • 使用PHP将用户名称设置为大写
  • 控制器功能不显示foreach内的返回值
  • 如何在使用新FormData()时获取ID; 的JavaScript /笨
  • 如何提高jsPDF下载的pdf文件的像素/分辨率

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华