Author: rvooys | Posted on: 2/17/2010 5:32:31 PM | Views : 1049

I quickly setup Roles to get my site up, but now I am going back and tightening them up. I have a custom SQL Server database Provider to hold users.
I want 3 Roles, Admins, Progress and then a standard User.
I have all the files only Admins to use are in a folder \Secure\Admins
I have all the files only Progress to use are in a folder \Secure\Progress
And all the files that everybody has access to are in the \Secure Folder.
As soon as I added the Custom XML Site provider, my Tree View disppeared. I would assume it's because my roles are not configured correct. I can use the ASP.NET configuration tool to see my roles and users, but any combination I try in there doesn't seem to do anything.
I see most examples have some code like below.
<location path="Admin">
  <system.web>
    <authorization>
      <allow roles="Admin" ...

Go to the complete details ...