限制特定 Google 网上论坛成员的访问权限
我想在我的 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不。正如 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.