Google App Engine(Java) 的安全性 - Servlet SSL?

发布于 2025-01-07 14:31:54 字数 655 浏览 3 评论 0原文

是否可以在 web.xml 中使用 SSL servlet 映射之一?

我有一个网站,使用 GWT 进行浏览器访问,手机通过 servlet 中的简单 HttpServletRequest 访问 gae。

设置:

  1. 浏览器 GWT 访问

对于该站点,用户通过 Google 帐户或 Facebook 登录。然后用户与网站交互 - 这里没有 SSL 设置,因为我使用的是 Google App Domain。 我想在这种带有令牌等的情况下,有关用户和密码的通信是安全的,对吧?

  1. 移动访问

用户通过手机与 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:

  1. 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?

  1. 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 技术交流群。

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

发布评论

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

评论(1

一江春梦 2025-01-14 14:31:54

是的,可以将 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

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