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!

SiteIdentityPermission

This permission defines the web site from which code originates. Site identity is only defined for code from URL with protocol HTTP, HTTPS, FTP – the site is the string between the ‘//’ after the protocol and the following ‘/’ if present, for example “site.microsoft.com” in the URL “http://site.microsoft.com/x.htm”.

Sites may be matched exactly, or by wildcard ‘*’ prefix at the dot delimiter, as follows.

Note   *.microsoft.com matches ‘microsoft.com’ (no prefix) as well as ‘www.microsoft.com’ etc. Without wildcard site name must be a precise match.

Use of HTTPS protocol provides authenticated web site name that results in a grant of authenticated site name, which is indicated by AuthenticatedSite Boolean flag. Matching an authenticated site permission requires the HTTPS (or in future other authenticated protocol); matching unauthenticated site (flag set off) will match any protocol (HTTP or HTTPS or etc.).