Google App Engine(Java) 的安全性 - Servlet SSL?
是否可以在 web.xml 中使用 SSL servlet 映射之一?
我有一个网站,使用 GWT 进行浏览器访问,手机通过 servlet 中的简单 HttpServletRequest 访问 gae。
设置:
- 浏览器 GWT 访问
对于该站点,用户通过 Google 帐户或 Facebook 登录。然后用户与网站交互 - 这里没有 SSL 设置,因为我使用的是 Google App Domain。 我想在这种带有令牌等的情况下,有关用户和密码的通信是安全的,对吧?
- 移动访问
用户通过手机与 Google App Engine(Java) 交互 - 每次调用都会传递用户名和密码。我需要 SSL 并且安全。
我见过这样的想法:在我的 GAEJ 应用程序中谨慎使用 https
但我没有从移动访问中使用 RPC。
对此有任何想法 - 提前致谢
问候
因此我正在考虑 Google Ap Engine 上的 SSL,但这在我的场景中是否可行
Is it possible to use SSL one one of the servlet-mappings in web.xml?
I have a site using GWT for browser access and mobile phones accessing the gae via simple HttpServletRequest in servlets.
The setup:
- Browser GWT Access
For the site, the user log in via Google Account or Facebook. Then the user interacts with the site - no SSL setup here as I am using Google App Domain.
I guess the communication regarding user and password is safe in this senario with tokens etc. right?
- Mobile Access
The user interacts with the Google App Engine(Java) from Mobile phones - the user and password is passed along each call. This I need to be SSL and safe.
I have seen thinks like this: using https sparingly in my GAEJ app
But I am not using RPC from the mobile access.
Any thoughts on this - Thanks in advance
Regards
Therefore I am thinking SSL on the Google Ap Engine, but is it posible in my scenario
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,可以将 ssl 与 appengine 一起使用,但您必须使用 *.appspot.com 域,而不是您自己的域名。
请参阅以下链接,了解有关保护 web.xml 中 appengine 中特定 url 的信息
http://code.google.com/appengine/docs/java /config/webxml.html#Secure_URLs
hth
Yes, it is possible to use ssl with appengine but you have to use the *.appspot.com domain, not your own domain name.
See the following link for information about securing specific urls in appengine in web.xml
http://code.google.com/appengine/docs/java/config/webxml.html#Secure_URLs
hth