Which of the following statements is not correct about security in Silverlight?

  1. Silverlight applications operate within a security boundary that is called a sandbox

  2. The Silverlight application runs in the same security context that of the HTML page that hosts the Silverlight plug-in

  3. Silverlight applications cannot access the file system and other system resources

  4. Silverlight code has three security levels: Transparent, SafeCritical and Critical


Correct Option: B

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) Silverlight applications operate within a security boundary that is called a sandbox - This option is correct. Silverlight applications are executed within a sandbox that restricts their access to system resources and limits their capabilities.

Option B) The Silverlight application runs in the same security context as the HTML page that hosts the Silverlight plug-in - This option is incorrect. The Silverlight application runs in a separate security context from the HTML page that hosts it. This separation ensures that the Silverlight application's actions are controlled and isolated from the hosting web page.

Option C) Silverlight applications cannot access the file system and other system resources - This option is correct. By default, Silverlight applications are not allowed to access the file system or other system resources directly. They can only access resources through specific APIs provided by the Silverlight framework.

Option D) Silverlight code has three security levels: Transparent, SafeCritical, and Critical - This option is correct. Silverlight code is categorized into three security levels: Transparent, SafeCritical, and Critical. These levels determine the permissions and access capabilities of the code within the Silverlight application.

The correct answer is B. This option is incorrect because the Silverlight application runs in a separate security context from the HTML page that hosts it.

Find more quizzes: