重定向 Sharepoint 登录页面或显示登录 Web 部件

发布于 2024-08-08 18:15:51 字数 290 浏览 4 评论 0原文

我已为我的 Sharepoint 网站启用 FBA,并且我想添加登录页面或 Web 部件其中之一。

目前,我的网站直接转到 Default.aspx 并显示信息和 Web 部件(显示错误消息)

我想要的是: 将我的默认页面设置为登录页面,或者是否有办法不显示除了登录 Web 部件之外,我的默认页面上还有其他内容吗?

我希望用户在进入默认页面之前登录其详细信息?

任何解决方案,例如重定向、Web 部件或任何其他解决方案,我们将不胜感激!

提前致谢!

I have enabled FBA for my Sharepoint site and i want to add a login page or webpart either one of them.

Currently my site directly goes to Default.aspx and displays information and webparts (which display error messages)

What i want is: Either set my default page to the Login Page or if there is a way not to display anything on my default page other than a login web part?

I want users to login their details before they enter the default page?

Any solutions e.g. redirects, webparts or anyother will be appreciated!

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

地狱即天堂 2024-08-15 18:15:51

当您启用基于表单的身份验证 (FBA) 时,您不能只更改登录页面吗?

<authentication mode="Forms">
  <forms loginUrl="/_layouts/mycustomlogin.aspx" />
</authentication>

As you enabled Forms Based Authentication (FBA), can't you just change your login page?

<authentication mode="Forms">
  <forms loginUrl="/_layouts/mycustomlogin.aspx" />
</authentication>
埖埖迣鎅 2024-08-15 18:15:51

与您的描述相匹配的设置可能如下所示:

默认区域、Windows 身份验证、无匿名访问(通常)

Extranet、FBA,可能是匿名访问,具体取决于您想要执行的

操作您不希望“ public”才能看到可能需要身份验证(无匿名访问)。这有帮助吗?

A setup to match your description might look something like this:

Default Zone, Windows Auth, No Anonymous Access (usually)

Extranet, FBA, maybe anonymous access depending on what you're trying to do

A page that you don't want "the public" to be able to see at all should probably require authentication (no anonymous access). Does this help?

九局 2024-08-15 18:15:51

它肯定与您的匿名访问有关 - 尝试适当地配置它。

It definitely has something to do with your Anonymous Access - try to configure that appropriately.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文