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!

Remoting Security Programming Tasks

Passing credential through the Channel Message Sink

MyFoo foo = Activator.GetObject(“http://. . .”);
dictionary = ChannelServices.GetChannelSinkProperties(foo);
dictionary["UserName"] = “joe”;
dictionary["Password"] = “secret”;
dictionary["Domain"] = “Sales”;

Basic Authentication

To be supplied

Digest Authentication

To be supplied

Cookie Authentication

To be supplied

Integrated Windows Authentication

To be supplied

Secure Communication

Activator.GetObject Example

MyFoo foo = Activator.GetObject(“https://. . .”);

Configuration Example

Assembly#StockNet#Trader#StockQuote=https://localhost/TraderSecure/StockQuote.soap

ASP+ HttpRequest.IsSecureConnection in the HttpContext returns a boolean that indicates whether the Http connection is secure i.e. HTTPS.