Author: WinterPhoenix | Posted on: 9/9/2008 10:22:05 AM | Views : 265

Hi all.  I'm writing an app that will run on my company's intranet.  I wish to use security trimming to block certain directories and pages from the sitemap to users not belonging to an appropriate AD user group.  I used this guide to configure site trimming, but it is not working properly.  All users can view all pages, so I feel that there is a problem in that I have no actual roles set up.  Here is some of the code I have written where "companyname" is our domain name and "projectname admin" and "all users" are two AD groups:
[From web.config]

 <location path="Administration">
    <system.web>
      <authorization>
        <allow roles="CompanyName\ProjectName Admin"/>
 &nbs ...

Go to the complete details ...