Allow deny users and roles web.config
Posted on: Fri Jan 22 10:15:39 -0800 2010. Updated on: Fri Jan 22 10:22:52 -0800 2010.
Category: DotNet
Category: DotNet
To limit users and roles to different folders it is pretty easy. First make sure you have your membership and role providers configured and working ok. Then edit the web.config. Microsoft has a perfect article here: deny elements for authorization
// this example will limit access to folder Admin to only admin role users. // note the order is important, if not won't work.