Revision: 3845
Author: jasvir
Date: Fri Nov 13 13:19:39 2009
Log: Edited wiki page through web user interface.
http://code.google.com/p/google-caja/source/detail?r=3845

Modified:
 /wiki/UrlPolicy.wiki

=======================================
--- /wiki/UrlPolicy.wiki        Thu Sep 10 13:23:33 2009
+++ /wiki/UrlPolicy.wiki        Fri Nov 13 13:19:39 2009
@@ -304,9 +304,9 @@

 ====Where are URL policies evaluated?====

-Callers need to invoke the URL policy from both server-side java, and from client-side javascript. We can use Rhino or another server-side JS interpreter to interpret a policy implemented in JS in the cajoler.
-
-It is possible in the future, that there might be a cajoling service that cajoles output for a variety of containers. In this case, each container might wish to supply their policy to the service. So the policy might not be entirely trusted code, and might have to be specified via HTTP. +Callers need to invoke the URL policy from both server-side java, and from client-side javascript. There are two ways that these can be unified - either the policies are authored in Java and the client javascript is generated from the java class. Alternatively, we can use Rhino or another server-side JS interpreter to interpret a policy implemented in JS in the cajoler. The latter is preferred since a cajoling service that cajoles output for a variety of containers may need to supply different policies to the service.
+
+The policy might not be entirely trusted code and may need to itself be cajoled before it is run or it may needed to be sandboxed in some other way.

====Is it the responsibility of the policy or the caller to resolve relative URLs?====

Reply via email to