I?m using a custom sitemapprovider that uses roles to support securityTrimmingEnabled.
But when messing around with my solution, and couln't get it working the way I wanted :)
After reading danny chen explain it a bit more (
http://forums.asp.net/1063566/ShowPost.aspx), that securityTrimmingEnabled and web.config authorization works hand in hand I realized my problem.
If I want to use rolebased authorization(securityTrimmingEnabled) in a solution that uses templates, like template.aspx?someId=15,
to configure each page in web.config ain?t an option. I could check it my self in my menu and then on each page with IsInRole(). Would be great to use the securityTrimmingEnabled for filtering all navigation controls and then have to check it on each page, (but that ain?t possible? All or nothing ?) I could live with that.
Any recommendations in this case ?