Breaking the sandbox—trusted applications
Up to now, we have seen how an OOB Silverlight application runs within a sandbox. That is to say, its access to certain resources is limited or restricted. What happens if we need to perform operations that the sandbox has restricted due to safety reasons? To solve this issue, there are applications with elevated permissions:
- A trusted OOB application is a program the user trusts (similar to when a desktop application is installed on our machine).
- Its XAP file is signed with a certificate, which ensures its trustworthy origin.
- It has elevated permissions, which makes it possible, for example, to make calls to COM components, P/Invoke calls, or access the local filesystem.
- For the application to be installed/executed, ...