# 将我的自托管 Discourse 向其他 Discourse 站点的账户开放，是否存在重大缺点或问题

**URL:** <https://meta.discourse.org/t/are-there-significant-downsides-or-problems-to-opening-my-self-hosted-discourse-to-participating-discourse-sites-accounts/409729>\
**Category:** Self-hosting\
**Created:** [2026年八月10日 19:02 UTC](https://meta.discourse.org/t/are-there-significant-downsides-or-problems-to-opening-my-self-hosted-discourse-to-participating-discourse-sites-accounts/409729 "2026-08-10T19:02:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![wsmwktb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wsmwktb/32/568120_2.png) [@wsmwktb](https://meta.discourse.org/u/wsmwktb)\
**Post date:** [2026年八月10日 19:02 UTC](https://meta.discourse.org/t/are-there-significant-downsides-or-problems-to-opening-my-self-hosted-discourse-to-participating-discourse-sites-accounts/409729/1 "2026-08-10T19:02:15Z")

</div>

我们将把 [Topicbox](https://thunderbird.topicbox.com/groups) 迁移到一个自托管的 Discourse 实例。虽然 Discourse 非常开放，但我们也不希望遇到垃圾信息、黑客攻击等问题。我们计划允许通过 Google、GitHub 以及其他少数来源进行身份验证。

我在 [启用 Discourse ID 身份验证的风险](https://share.google/yevUQGxG4xTKILmGd) 这一问题上看到了多年来存在的不同观点。因此，我想知道，关于 [允许使用 Discourse ID 登录](https://meta.discourse.org/t/how-discourse-id-works/379565?tl=en) 的 **当前** 共识是什么？其优势是否超过了潜在的缺点/风险，还是像 Google 搜索结果暗示的那样糟糕？与允许通过上述来源登录相比，使用 Discourse ID 的风险是否更严重？

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2026年八月10日 19:56 UTC](https://meta.discourse.org/t/are-there-significant-downsides-or-problems-to-opening-my-self-hosted-discourse-to-participating-discourse-sites-accounts/409729/2 "2026-08-10T19:56:34Z")

</div>

为什么不分阶段进行呢？

先从明显的高优先级社交登录开始，然后再添加 Discourse ID？

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2026年八月10日 20:08 UTC](https://meta.discourse.org/t/are-there-significant-downsides-or-problems-to-opening-my-self-hosted-discourse-to-participating-discourse-sites-accounts/409729/3 "2026-08-10T20:08:41Z")

</div>

> [@wsmwktb](#):
>
> 我注意到过去几年里关于[启用 Discourse ID 身份验证的风险](https://share.google/yevUQGxG4xTKILmGd)存在不同的观点。

上述列出的风险大多属于人们常说的“幻觉”（即无根据的担忧）。

> **声誉不匹配：** 在其他论坛获得的信任等级（TL0–TL4）可能不符合您社区的标准，从而可能赋予外部用户他们在本地并未获得的发帖或管理权限。

Discourse ID 不会这样做。

> **数据依赖：** 您依赖外部服务器或网络进行身份验证。如果远程登录提供商出现停机或更改其 API 规则，您的用户可能会失去访问权限。

这对于任何社交登录方式都是如此。

> **连锁漏洞：** 您网站的安全状况将取决于参与方中最弱的网站或中央身份提供商。如果外部合作网站遭到入侵，恶意行为者可能会利用这些账户访问您的实例。

Discourse ID 基于 Discourse 构建，而 Discourse 正是您的社区所运行的相同软件。

> **账户接管传播：** 如果用户在远程参与网站上使用弱密码或遭遇凭证泄露，这种被入侵的状态可能会直接流入您论坛的身份验证流程。

这毫无道理。

> [@wsmwktb](#):
>
> 因此我想知道，关于[允许使用 Discourse ID 登录](https://meta.discourse.org/t/how-discourse-id-works/379565?tl=en)的 **当前** 共识是什么？

如果您想以零成本获得多种社交登录方式，请使用 Discourse ID。如果您希望精确控制用户可用于登录您网站的方法，则不要使用它。

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2026年八月10日 20:15 UTC](https://meta.discourse.org/t/are-there-significant-downsides-or-problems-to-opening-my-self-hosted-discourse-to-participating-discourse-sites-accounts/409729/4 "2026-08-10T20:15:05Z")

</div>

[沿海散步的缺点](https://www.google.com/search?q=are+there+any+signficant+downsides+or+problems+with+walking+along+a+seafront%3F&sca_esv=c22c990d6aa7f981&sxsrf=APpeQntXICQ6Zqw44HmQp3gxhMz8l1TZWg%3A1786392806997&ei=5jB6atmfPPq3hbIPkpmLyQY&biw=411&bih=760&oq=are+there+any+signficant+downsides+or+problems+with+walking+along+a+seafront%3F&gs_lp=EhNtb2JpbGUtZ3dzLXdpei1zZXJwIk1hcmUgdGhlcmUgYW55IHNpZ25maWNhbnQgZG93bnNpZGVzIG9yIHByb2JsZW1zIHdpdGggd2Fsa2luZyBhbG9uZyBhIHNlYWZyb250PzIEEB4YCkj8vAFQ9BFY0a8BcAt4AJABAZgB5QGgAfJbqgEINDIuNDAuMTC4AQzIAQD4AQGYAjWgAs0wwgIEECEYCsICBRAAGO8FwgIGECEYFRgKwgIFECEYnwXCAggQIRgNGBUYCpgDAOIDBRIBMSBAiAYBkgcHMTkuMjguNqAHua8CsgcGOC4yOC42uAesMMIHCTAuNDEuMTEuMcgHhQGACAE&sclient=mobile-gws-wiz-serp)

这就是你的措辞方式 😅

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2026年八月10日 20:17 UTC](https://meta.discourse.org/t/are-there-significant-downsides-or-problems-to-opening-my-self-hosted-discourse-to-participating-discourse-sites-accounts/409729/5 "2026-08-10T20:17:42Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/d/1/d/d1d5213000ad3dcfc93864e64030ea3833264572.jpeg)

---

<div class="post-metadata">

**Author:** ![wsmwktb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wsmwktb/32/568120_2.png) [@wsmwktb](https://meta.discourse.org/u/wsmwktb)\
**Post date:** [2026年八月11日 18:45 UTC](https://meta.discourse.org/t/are-there-significant-downsides-or-problems-to-opening-my-self-hosted-discourse-to-participating-discourse-sites-accounts/409729/6 "2026-08-11T18:45:59Z")

</div>

感谢大家的反馈。这印证了我自己的推理。（如今谁还相信谷歌的搜索结果呢？）

问题：我最初问题的另一面是，有没有办法允许选择性地创建本地账户？换句话说，允许在我们 Discourse 中为管理员等角色创建账户，但要求其他所有用户必须通过 GitHub 等方式注册？能否通过向潜在管理员发送邀请来实现，且邀请成为创建本地账户的唯一允许方式？

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2026年八月11日 19:36 UTC](https://meta.discourse.org/t/are-there-significant-downsides-or-problems-to-opening-my-self-hosted-discourse-to-participating-discourse-sites-accounts/409729/7 "2026-08-11T19:36:41Z")

</div>

如果您希望提高管理员账户的安全性，可以将 `强制双因素认证` 设置为 `staff`。

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2026年九月14日 12:21 UTC](https://meta.discourse.org/t/are-there-significant-downsides-or-problems-to-opening-my-self-hosted-discourse-to-participating-discourse-sites-accounts/409729/8 "2026-09-14T12:21:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
