Request Factory More Secure ?

34 views
Skip to first unread message

Vincent François

unread,
Jul 9, 2011, 10:39:31 PM7/9/11
to google-we...@googlegroups.com
Is it correct to think that Request Factory is more secure that GWT RPC ?

The client does not handle a entity (objectify entity) but handles a proxy. Is it true ? Am I right ?

-- Vincent


David Chandler

unread,
Jul 11, 2011, 11:59:00 AM7/11/11
to google-we...@googlegroups.com
Hi Vincent,

RequestFactory is not inherently any more or less secure that GWT RPC. With either approach, you should protect RPC calls for sensitive data with SSL and protect against XSRF attacks by sending a token with each request payload. For more info, see


As for the second part of your question, you are correct. On the client side, RequestFactory works with proxy (interface) representations of entities. RequestFactory automatically converts between the proxy representation and the server-side entity when sending / receiving.

/dmc


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mWVdzvWclJQJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/

Vincent François

unread,
Jul 11, 2011, 1:05:58 PM7/11/11
to google-we...@googlegroups.com
Tank's
Vincent
Reply all
Reply to author
Forward
0 new messages