duanpo7354 2015-06-20 18:18
浏览 43
已采纳

即使密码是服务器生成的,也要隐藏密码?

Shall I hash users of my portal when password is generated by server and user cannot change it? Logically:

  1. User can't use this passwords anywhere else as it is server-generated.

  2. Even when somebody access database illegally, they can change password and see it, but it is useless for them as it is not used anywhere else.

Am I right? Or hashing still should be implemented...?

  • 写回答

3条回答 默认 最新

  • dragon_9000 2015-06-20 18:26
    关注

    Security is something done in layers and each layer is designed to raise the cost of doing something you don't want them to. Do security guards prevent robberies? No, but they raise the cost of committing one to where most people won't bother.

    Hashes don't prevent people from hacking your users but an unencrypted password is an open invitation for anyone who gains access to that data to log into your users' accounts freely for as long as it takes you to discover the hack.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 深度学习残差模块模型
  • ¥20 两个不同Subnet的点对点连接
  • ¥50 怎么判断同步时序逻辑电路和异步时序逻辑电路
  • ¥15 差动电流二次谐波的含量Matlab计算
  • ¥15 Can/caned 总线错误问题,错误显示控制器要发1,结果总线检测到0
  • ¥15 C#如何调用串口数据
  • ¥15 MATLAB与单片机串口通信
  • ¥15 L76k模块的GPS的使用
  • ¥15 请帮我看一看数电项目如何设计
  • ¥23 (标签-bug|关键词-密码错误加密)