ASP.NET 会员框架的安全性如何?
就安全性而言,ASP.NET 会员框架的声誉如何? 是否有任何有问题的典型默认配置设置? 有哪些最佳实践? 是否有任何内置方法可以对抗会话劫持等问题?
What is the ASP.NET Membership framework's reputation as far as security goes? Are there any typical default configuration settings that are problematic? What best practices are there? Are there any built-in methods to combat things like session hijacking?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
关于最佳实践,有一个简短的 WIKI,名为 ASP.NET 2.0 安全检查问题列出了使用会员提供商时的安全注意事项。 也许有一些用处?
In regard to best practices, there is a short WIKI called ASP.NET 2.0 Security Inspection Questions that lists security considerations when using a membership provider. It may be of some use?
Omar AL Zabir 在博客中介绍了他对高用户站点实施所需的存储过程所做的一些更新。 之前使用
之前或
他的建议基本上是在成员资格存储过程中的 SELECT 查询
。 优化 ASP Net Members 存储过程以提高速度和可扩展性
Omar AL Zabir blogged on some updates he made to the stored procedures that were needed for a high user site implementation. His suggestion is basically to use either
or
before the SELECT queries in the membership stored procedures.
Optimize asp net membership stored procedures for greater speed and scalability
我不确定这是否是 ASP.NET 会员位本身的问题,但不要忘记确保服务器上生成了一个秘密并在 POST 上进行了身份验证,以便您可以确保表单发布已发送从您的应用程序。
可能还有其他(更好)的方法可以做到这一点,我只是分享我所知道的
I'm not sure if this is a problem for the ASP.NET Membership bits per se, but don't forget to ensure that there is a secret generated on the server and authenticated on POST so you can be sure that the form post came from your app.
There may be other (better) ways to do this, I'm just sharing what I know