English 中文(简体)
可靠地使用高压和高压发动机发送密码?
原标题:Sending a password securely using gwt and app engine?

我设立了一个会议,处理山田径项目。 这样做是为了使我的用户能够记录和保持各页的状态。 我刚刚把它带入违约的问候服务处,以尝试:

public class GreetingServiceImpl extends RemoteServiceServlet implements GreetingService {
    public void sessionTest(String username) {
        HttpSession session = getThreadLocalRequest().getSession(false);
        session.setAttribute("username", username);
    }
}

然后试图将其撤出我的着陆项目。 jsp page:

<%
String username = null;
HttpSession mysession = request.getSession(false);
if (mysession.getAttribute("username") != null) {
    username = (String)mysession.getAttribute("username");
}
else {
    username = "(not logged in yet)";
}

<p>You are: 
<%= username %>
</p>
%>

它发挥了作用,但我不知道如何在届会上安全地发送数据。 如果我也在那里发出用户密码,那将是清楚的。

我认为,如果我使用https的话,那是ok,但 go光灯发动机不允许你在习俗领域使用https(如www.mysite.com),它们必须处于(Msite.appspot.com)的范畴。

我在这里 st着——我们如何安全地发出密码? 如果我使用“加拿大”,我就认为我可以使用“消化认证”(这里没有太多经验)——我们能否做像“gwt + gae”那样的事情?

增 编

问题回答

届会数据储存在服务器上,而不是在客户上,只是向客户发出信号,以确定客户会议。

尽管如此,你可能应当把用户的密码储存在本届会议上——为什么你们想要? - 甚至完全清楚。





相关问题
How to make logging.debug work on Appengine?

I m having a tough time getting the logging on Appengine working. the statement import logging is flagged as an unrecognized import in my PyDev Appengine project. I suspected that this was just an ...

gqlQuery returns object, want list of keys

Is there a way to convert the GqlQuery object to an array of keys, or is there a way to force the query to return an array of keys? For example: items = db.GqlQuery("SELECT __key__ FROM Items") ...

Integrating Google AppEngine with a Thick Client

I want to make a multi-user client-server solution with Java Swing thick client as a front-end and Google AppEngine (Java one) as a back-end. The problem is that GAE provides only web-based forms for ...

sorl.thumbnail : thumbnail is not a valid tag library?

I am trying to install sorl.thumbnail but am getting the following error message: thumbnail is not a valid tag library: Could not load template library from django.templatetags.thumbnail, No module ...

热门标签