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!

Secure Resources Sample

The purpose of this sample is to introduce developers to NGWS secure resources. This sample demonstrates how to create a custom resource and set permissions for it, by deriving a class from the System.Security.CodeAccessPermission class. Your own custom permissions merge seamlessly into the code access security framework using the standard permission mechanisms.

Location of the Sample

This sample list located in the SecureRes directory of the NGWS SDK sample directories.

For Example:

C:\Program Files\NGWSSDK\Samples\SecureRes

Building the Sample

In order to properly build and run this sample, the following steps need to be performed prior to building and running the sample.

Running the Sample

In order to run this sample, follow the instructions listed below.