By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,403 Members | 1,706 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,403 IT Pros & Developers. It's quick & easy.

Create a Site Map and Enable Security Trimming

P: n/a
I'm using Forms authentication and restricting access to a subdirectory
with a web.config:

<allow roles="PLAIN_USER"/>
<allow roles="ADMIN_USER"/>
<deny users="*" />

I also created a sitemap as follows:

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="" >
<siteMapNode url="~/Default.aspx" title="Home">
title=" Plain User Home |"
description="Plain User Home Page"
roles="PLAIN_USER" />
title=" Amdin User Home |"
description="Admin Home Page"
roles="ADMIN_USER" />
However, both the "Plain User Home" and "Admin User Home" appear in the
menu. Shouldn't the roles restricted in the sitemap override the
authorization in the web.config?

Jun 22 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.