dongzhang5006 2012-02-11 16:05
浏览 9
已采纳

Cakephp和设置故障通知

I have two warnings related to cakephp security

Please change the value of 'Security.salt' in app/Config/core.php to a salt value specific to your application [CORE\Cake\Utility\Debugger.php, line 717]

Please change the value of 'Security.cipherSeed' in app/Config/core.php to a numeric (digits only) seed value specific to your application [CORE\Cake\Utility\Debugger.php, line 721]

But I have no idea of what that actually means. Is it just alright to leave them as they are even in really large and important applications ?

  • 写回答

1条回答 默认 最新

  • dtye7921 2012-02-11 16:07
    关注

    Well, reading those two messages, I would say you must edit the app/Config/core.php file, to put values that are specific to you / your application, and cannot be guessed, for the two Security.salt and Security.cipherSeed configuration entries.

    Considering the names of those properties, using specific values (unique to your application, and not common to all Cakephp applications in the world) is probably better for security.

    And, answering your "is it alright to leave them as they are ?" question : if you get security-related warnings, do you really think it's OK to just ignore them ?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 TLS1.2协议通信解密
  • ¥40 图书信息管理系统程序编写
  • ¥20 Qcustomplot缩小曲线形状问题
  • ¥15 企业资源规划ERP沙盘模拟
  • ¥15 树莓派控制机械臂传输命令报错,显示摄像头不存在
  • ¥15 前端echarts坐标轴问题
  • ¥15 ad5933的I2C
  • ¥15 请问RTX4060的笔记本电脑可以训练yolov5模型吗?
  • ¥15 数学建模求思路及代码
  • ¥50 silvaco GaN HEMT有栅极场板的击穿电压仿真问题