You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <de...@tapestry.apache.org> on 2008/06/03 22:06:44 UTC

[jira] Issue Comment Edited: (TAPESTRY-2191) let make JSONObject secured

    [ https://issues.apache.org/jira/browse/TAPESTRY-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602049#action_12602049 ] 

andyhot edited comment on TAPESTRY-2191 at 6/3/08 1:05 PM:
-------------------------------------------------------------------

See http://trac.dojotoolkit.org/ticket/6380 or
http://66.102.9.104/search?q=cache:ll7X1TgxpP4J:trac.dojotoolkit.org/ticket/6380+dojo+6380&hl=el&ct=clnk&cd=1&gl=gr&client=firefox-a

Dojo guys have deprecated json commenting as it can 'introduce a security hole when none existed before'...  They propose a server-only 
approach that simply adds {}&& at the start of all generated json - the benefit being that it can be evaluated the same way as a normal
json is and produces the exact result.

      was (Author: andyhot):
    See http://trac.dojotoolkit.org/ticket/6380 or
http://66.102.9.104/search?q=cache:ll7X1TgxpP4J:trac.dojotoolkit.org/ticket/6380+dojo+6380&hl=el&ct=clnk&cd=1&gl=gr&client=firefox-a

Dojo guys have deprecated json commenting as it can 'introduce a security hole when none existed before'...  They propose a server-only 
approach that simply adds {}&& at the start of all generated json - the benefit being that it can be evaluated the same was as a normal
json is and produces the exact result.
  
> let make JSONObject secured
> ---------------------------
>
>                 Key: TAPESTRY-2191
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2191
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Sven Homburg
>             Fix For: 5.0.13
>
>
> eg.: set security comment delimiters (/*-secure-\n...*/) around sensitive JSON or JavaScript data to prevent Hijacking.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org