Sandboxes and other plug-in limitations are becoming increasingly common for browsers that support plug-ins: Internet Explorer has a similar mechanism, and other web browsers are also increasing their scrutiny of plug-ins.
The features that are blocked by sandbox may change over time even though Silverlight is fully compatible with Safari. For now, the following Silverlight features do not work in Safari when the sandbox environment is enabled for website.
- Installing an application Out of Browser (OOB)
Safari blocks only the action of installing the OOB App. For example, the Install this program on your computer option from the Silverlight shortcut menu. When the App is installed, the OOB function works correctly and is not blocked by sandbox. To work around this issue, you can use another browser, such as Mozilla Firefox, to install the App.
This developer functionality uses an implementation that is forbidden by the sandbox feature. Developers should migrate from LocalMessage-based inter-process communication (IPC) to Transmission Control Protocol (TCP-based) communication if they need to communicate with other programs or Silverlight instances.
- Webcam and Microphone access is blocked.
- Writing files to users' file system, such as downloading applications.
- Printing from Silverlight directly, a feature that is available to developers. The browser printing functionality still works correctly.
- Increasing the Isolated Storage beyond its initial size of about 5 MB. Developers should rely on downloaded data instead of putting large files in isolated storage, or migrate their App to run OOB which is unaffected.
Warning After you perform this method, Safari trusts the Silverlight site, and allow it to run outside the sandbox. This may cause security risks because a security mechanism of the browser is disabled. We recommend that you only follow these steps when it is required for sites or content that you trust.
To allow a specific site to run without the Sandbox in Safari, follow these steps:
- Visit the Silverlight site that you want to allow to run.
- Select Preferences… from the Safari menu.
- Select the Security tab from the preferences screen.
- Select the Managed Website Settings… button in the lower-right corner.
- Select Silverlight on the left side. If it is not found, verify that you are navigated to the correct site, and that site uses Silverlight.
- At the pull-down for your site, click Run in Unsafe Mode.
- Select Trust from the dialog that appears.
Article ID: 2942860 - Last Review: 12 Mar 2014 - Revision: 1