控制电子邮件地址

发布于 2024-10-07 11:12:59 字数 131 浏览 0 评论 0原文

我有一个使用 Sharepoint 2007 创建的公共网站。其中我有一个联系表单,客户可以在其中留言...我希望只有拥有特定电子邮件地址的客户(仅限公司成员)才能发布消息。我如何使用 Active Directory 或使用其他解决方案来控制它?

I have a public website created with Sharepoint 2007. In that I have a contact form where the client can leave a message ... I want that only clients who have a specific emailadress (only members of the company) can post a message. How can I control that using Active Directory or using some other solution ?

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

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

发布评论

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

评论(1

め可乐爱微笑 2024-10-14 11:12:59

一个简单的解决方案是将通常的自由文本电子邮件地址框替换为仅允许内部名称的自定义文本框,如果单个域与您的实际情况匹配,则后面的任何内容都将跟随 @yourcompany.com。

如果您的网站是匿名可用的,您可以创建广告专用的“联系人”子网站,您将其限制为仅允许公司成员使用(因此不能匿名使用)。您可以通过这种方式获得常规的联系我们表格,只有经过身份验证的用户才能填写该表格。 (并且会看到相关的子站点)。您需要允许在公共网站上进行身份验证才能使其正常工作(例如:有一个链接到可用 AD 或 FBA 的登录按钮)。

A simple solution would be to replace the usual free text email address box with a custom textbox allowing only the internal name, anything after would be followed by @yourcompany.com if a single domain is matching with your reality.

If your site is anonymously available, you could create ad dedicated "contact" sub site that you'll restrict to only members of the company (thus not anonymously available). You could that way have your regular contact us form, only authenticated users will be able to fill in the form. (and will see the relevant sub site). You'll need to allow authentication on the public site to make it work (eg : have a sign in button with is linked to an available AD or FBA).

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