如何配置基于 SharePoint 表单的身份验证
有人可以告诉我如何在 SharePoint (WSS 3.0) 中执行以下操作:
让用户在页面上登录(用户名和密码),然后如果正确则显示 WSS 3.0 网站的主页?
我认为这称为基于表单的身份验证。
Can someone please tell me how to do the following in SharePoint (WSS 3.0):
Have a user log in (user name and password) on a page and then if correct display the home page of a WSS 3.0 site?
I think it's called forms based authentication.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这是一个视频 关于使用表单身份验证。 使用 WSS3 和这里有一些示例。 基本上,您使用 _layouts 中的 login.aspx 页面来收集凭据并缓存它们。 您必须修改 web.config 才能使用会员资格提供程序。 有关更多信息,请此处。
Here's a video about using Forms Auth. with WSS3 and here are some samples. Basically, you use the login.aspx page in _layouts to collect credentials and cache them. You have to modify web.config to use the membership provider. More on that here.
这是关于 FBA 的最佳文章之一
This is one of the best article on FBA
节省大量时间并查看 http://sharepointsolutions.com/ SharePoint-Add-ons/Products/Pages/ExtranetCollaborationManager.aspx
我已经通过多种方式完成了此操作,但这使配置环境时的工作变得更加轻松。
Save yourself a lot of time and checkout http://sharepointsolutions.com/SharePoint-Add-ons/Products/Pages/ExtranetCollaborationManager.aspx
I have done it several ways but this has made life easier when configuring environments.
作为基于表单的 AuthN 的特殊情况,如果您不必拥有包含用户的数据库,则可以依靠 Live ID 来对站点的用户进行身份验证。 还没有尝试过这个,但可能对你有帮助。
As a special case of Forms Based AuthN, in case you don't have to own the DB containing your users, you can rely on Live ID to authenticate users to your site. Haven't tried this, but may help you.
我只是相信一些 JavaScript 就足以做到这一点。也许我错了!
I just believe some JavaScript is enough to do that.Maybe I am Wrong!