DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 23 Aug 2007 10:13:21 -0400,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Fao, Sean -WANT-NO-SPAM


Would a PermissionProvider Be Useful?   
When I first started looking into the ASP.NET provider model, I was 
surprised to see that there was a built in RoleProvider, but not an 
accompanying PermissionProvider that could be used to define the 
permissions that a particular role is granted.  I always thought it 
would be cool to have a PermissionProvider, but any time I think I have 
a use, I end up with a 1:1 relationship between role and permission, 
meaning that I require only one permission to be granted to a particular 
role.  I'm sure there are situations in which one role would contain 
many permissions, but I simply haven't come across them in my projects.

One example I can think of would be a WebControl that is only visible to 
users with a specific permission, but the situations that require this 
level of functionality [at least for me] are rare.

I figure there is a reason that the developers at Microsoft didn't find 
it necessary to provide a PermissionProvider.  What do you guys think? 
Would a PermissionProvider be useful?  If so, what would you use it for?

-- 
Sean
Date:Thu, 23 Aug 2007 10:13:21 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us