Sandbox: Isolated environment, also known as a sandbox, a plug-in or custom activity can make use of the full power of the Microsoft Dynamics CRM SDK to access the organization web service.
Access to the file system, system event log, certain network protocols, registry, and more is prevented in the sandbox.
It runs as a separate service, so it has got its own space to execute the process.
It has reduced functionality and a Partial Trust process
On-premise CRM will allow you to run plugins in or out of sandbox mode (none), whereas Online (Microsoft's hosted solution) will only run in sandbox mode
What are the Sandbox Limitations?
· System event log
· Certain network protocols
· Registry
· You cannot access any other DLL’s
· You cannot call any web services from within a sandboxed plugin
· IP addresses cannot be used
· Only the HTTP and HTTPS protocols are allowed.
· In isolated mode you cannot call any external DLL’s\DLL’s in the GAC
Some more restrictions are in listed below in detail-
· Attempting to use the AppDomain.CurrentDomain.AssemblyResolve event
· IO.Path.GetTempPath() [System.Security.Permissions.EnvironmentPermissionException]
· Any filesystem access code [System.Security.Permissions.FileIOPermissionException]
· Attempting to use the EventLog [System.Diagnostics.EventLogPermissionException]
· Attempting to use IsolatedStorage [System.Security.Permissions.IsolatedStoragePermissionException]
· Any references to Thread.CurrentThread caused a security failure.
No comments:
Post a Comment