限制特定 Google 网上论坛成员的访问权限

发布于 2025-01-07 14:17:20 字数 159 浏览 4 评论 0原文

我想在我的 Google App Engine 应用程序上检查用户是否属于给定的 Google 群组。

我可以使用他们的用户名手动检查,方法是复制该组的整个电子邮件地址列表,并单独比较每个地址,但这需要在用户每次加入或离开该组时更新列表。

有没有简单的方法可以做到这一点?

I’d like to check on my Google App Engine application whether an user belongs to a given Google Group.

I could check manually using their username, by copying the whole list of email addresses of that group, and comparing each individually, but that would require updating the list every time a user joins or leaves the group.

Is there an easy way to do that?

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

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

发布评论

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

评论(1

野の 2025-01-14 14:17:20

不。正如 proppy 在评论中建议的那样,您当然可以执行屏幕抓取之类的操作,但这是一种非常脆弱的方式,不适合身份验证等重要的事情。

还有相关功能请求。考虑为该问题加注星标。

No. As proppy suggested in the comment, certainly you can do something like screen scraping, but it's a very fragile way and not appropriate for important things like authentication.

There is also a feature request about it. Consider starring this issue.

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