tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Andreou (JIRA)" <...@tapestry.apache.org>
Subject [jira] Issue Comment Edited: (TAPESTRY-2191) let make JSONObject secured
Date Tue, 03 Jun 2008 20:06:44 GMT

    [ 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


Mime
View raw message