dongye1942 2012-03-19 00:12
浏览 56
已采纳

数据库用户细节安全性

My question is probably quite a basic silly one, but here goes anyway:

When a user registers on my site should I store their personal details (name, address, etc.) in a seperate table from their login information (username, password hash, salt) and if so, should there be any relationship or link between the tables?

  • 写回答

3条回答 默认 最新

  • duai8153 2012-03-19 00:32
    关注

    Storing them in separate tables don't adds anything for the security aspect.

    If you decide to store them separately for some reason, both tables should be linked to determine which login information belongs to who.

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

报告相同问题?