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.
This sample list located in the SecureRes directory of the NGWS SDK sample directories.
For Example:
C:\Program Files\NGWSSDK\Samples\SecureRes
In order to properly build and run this sample, the following steps need to be performed prior to building and running the sample.
For Example:
C:\Program Files\NGWSSDK\Samples\SecureRes\:>NMAKE All
In order to run this sample, follow the instructions listed below.
For Example:
C:\Program Files\NGWSSDK\Samples\SecureRes\:>SecureResource