NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PInvoke Security

Code compiled for the NGWS runtime uses Code Access Security. So, the runtime environment checks the code to see it has the requisite permissions before it tries to access a resource or perform other sensitive tasks. However, this level of checking is not available with unmanaged code at runtime. Hence, any PInvoke calls to unmanaged code must be checked for security implications and care must be taken to ensure that no security holes are introduced. The Execution Engine introduces the following constraints: