Hi there,
You may be misunderstanding the use of the roles attribute in the sitemap. It's used to *extend* the items beyond the roles you're in, not limit it. That is, it allows you to show items to users to which they normally don't have access.
Instead, add a <location> tag to your web.config with its path set to the file you want to protect. Then change the security settings to the correct roles.
For example:
<location path="SomeFile.aspx">
<system.web>
<authorization>
<allow roles="Managers, Administrators" />
<deny users="*"/>
</authorization>
</system.web>
</location>
Hope this helps.
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004