principalpermission
elevation demand not working for method in winforms app
I have a winforms app that installs other apps in a loop. This works properly on an administrator account in Windows 7, but I have serious issues in a standard account - the app requires elevation in[详细]
2023-03-27 18:32 分类:问答PrincipalPermission.Demand() failing once WCF Service was moved to SSL
My Silverlight/WCF application uses PrincipalPermission in each service method to ensure the user is Authenticated.This works just fine when I have everything configured to HTTP, but once I configured[详细]
2023-03-07 07:42 分类:问答Error Handling in WCF Service
With the following servic开发者_开发百科e method example:- [PrincipalPermission(SecurityAction.Demand, Role=\"BUILTIN\\\\Administrator\")][详细]
2023-02-14 02:59 分类:问答Silverlight4 page and PrincipalPermission
I am using VS2010 to learn about Silverlight4 Business Application with the MVVM design pattern. Trying to figure out how to declaratively secure a SL4 view (either a Page or UserControl or ChildWind[详细]
2023-01-30 18:56 分类:问答fine-grained permissions; PrincipalPermission - roles seperate from permissions;
I\'ve been using PrincipalPermission for a while in wcf services. [PrincipalPermission(SecurityAction.Demand, Role = SecurityRoles.CanManageUsers)][详细]
2022-12-29 04:32 分类:问答Caller identity (Network Service account) obtained by WCF service is out of date
We have a WCF service using TCP binding, hosted in a Windows service. The WCF service is called by an ASP.NET web application.[详细]
2022-12-26 07:14 分类:问答System.Security.SecurityException - Get the role name
I\'ve implemented a catch all security exceptions method in my global.asax like this... protected void Application_Error(object sender, EventArgs e)[详细]
2022-12-09 17:13 分类:问答