AspNetActiveDirectoryMembershipProvider question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



As anybody here used the AspNetActiveDirectoryMembershipProvider with the
SiteMap
For example mapping the roles from Active Directory to the siteMapNode for
security trimming?
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"; >
<siteMapNode url="~/default.aspx" title="Home" description=""
roles="*">
<siteMapNode url="~/signup.aspx" title="Sign Up" description=""
roles="?" />
<siteMapNode url="~/pwdreminder.aspx" title="Forgot Password"
description="" />

<siteMapNode url="" title="User Settings" description=""
roles="users">
<siteMapNode url="~/_Users/myaccount.aspx" title="My Account"
description="" />
<siteMapNode url="~/_Users/changepwd.aspx" title="Reset Password"
description="" />
</siteMapNode>

<siteMapNode url="" title="Members" description="" roles="members">
<siteMapNode url="~/_Members/history.aspx" title="History"
description="" />
</siteMapNode>

<siteMapNode url="" title="Support" description="" roles="support">
<siteMapNode url="~/_Support/search.aspx" title="Search"
description="" />
</siteMapNode>
<siteMapNode url="" title="Admin" description="" roles="admins">
<siteMapNode url="~/_Admins/test.aspx" title="Admin1"
description="" />
<siteMapNode url="~/_Admins/test2.aspx" title="Admin2"
description="" />
</siteMapNode>
</siteMapNode>
</siteMap>

Any ideas?


.



Relevant Pages

  • using AspNetActiveDirectoryMembershipProvider question
    ... For example mapping the roles from Active Directory to the siteMapNode for ... <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"</a>;> ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Security Trimming in ASP.Net 2.0 question
    ... The Roles are from Active Directory since i'm using Windows Auth. ... So is it possible generate a siteMap file or write an applicaton that can ... where ReportManager,Admin,Senior Managers ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Security Trimming in ASP.Net 2.0 question
    ... SiteMap pulls this information from the element in web.config. ... You first have to make sure your client only have access to stuff they are allowed, then you don't have to specify any role attribute at all. ... Maybe does not answer your question - but saves you from a security problem:) ... The Roles are from Active Directory since i'm using Windows Auth. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: using AspNetActiveDirectoryMembershipProvider question
    ... if you set securityTrimmingEnabled in the sitemap provider, it will read from the <authorization> sectionto determine which links to display to the user in the navigation. ... For example mapping the roles from Active Directory to the siteMapNode ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: using AspNetActiveDirectoryMembershipProvider question
    ... from the <authorization> sectionto determine which links to display to ... the user in the navigation. ... The roles attribute in the sitemap file is used to override the ... For example mapping the roles from Active Directory to the siteMapNode ...
    (microsoft.public.dotnet.framework.aspnet.security)