Dean Bates
1/14/2003 11:01:00 PM
To reproduce create a standard Hello world template c# web
service in VS.NET.
Add using System.Security.Permissions to libraries.
Uncomment hello world example adding
[PrincipalPermissionAttribute(SecurityAction.Demand,
Authenticated=true, Name=@"DEAN")] under [WebMethod].
Use IIS to setup HTTP Authentication on web service.
Logon to web service through IE using account in
PrincipalPermissionAttribute (eg DEAN), select Helloworld
webmethod. Page not found is returned. Web service works
without PrincipalPermissionAttribute.
I've also tried Name=@"DOMAIN\DEAN"