1.

Which was one of the first security subsets proposed?(a) FBJS(b) Caja(c) dojox.secure(d) ADSafeThis question was addressed to me in my homework.My question is taken from JavaScript Subsets topic in portion Classes and Modules in JavaScript of JavaScript

Answer»

Correct option is (d) ADSafe

The explanation is: 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.



Discussion

No Comment Found

Related InterviewSolutions