Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which was one of the first security subsets proposed?

  2. A.

     FBJS

    B.

     Caja

    C.

     dojox.secure

    D.

     ADSafe

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    ADsafe was one of the first security subsets proposed) It was created by Douglas Crockford (who also defined The Good Parts subset).ADsafe relies on static verification only, and it uses JSLint as its verifier. It forbids access to most global variables and defines an ADSAFE variable that provides access to a secure API, including special-purpose DOM methods. ADsafe is not in wide use, but it was an influential proof-of-concept that influenced other secure subsets.


Be The First To Comment