在表单字段中暴露MySQL表字段名称是否存在安全风险?
在表单字段中暴露MySQL表字段名称是否存在安全风险?这样表单字段和相应的表字段将具有相同的名称?
Is there a security risk in exposing MySQL table fields name in form fields? so that both the form field and corresponding table field will have the same name?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
并不真地。即使您竭尽全力确保字段名称与表单名称不匹配,攻击者仍然很容易猜测出这种关联。我的意思是,命名包含电子邮件地址的字段的方法只有这么多。
Not really. Even if you go out of your way to make sure that your field names don't match with your form names, it's still going to be pretty easy for an attacker to guess the association. I mean, there's only so many ways you can name a field that contains an email address.