вторник, 11 января 2011 г.

An overview of how securityTrimmingEnabled is supposed to work. - -[ Danny Chen ]- - Site Home - MSDN Blogs

An overview of how securityTrimmingEnabled is supposed to work. - -[ Danny Chen ]- - Site Home - MSDN Blogs: "I think that the #1 most confusing or misunderstood portion of Site Navigation is the securityTrimmingEnabled flag and the roles attribute on siteMapNodes. This post wil hopefuly clear up some of the confusion.

SecurityTrimmingEnabled

Firstly, let me be explicit about this: out of the box, securityTrimmingEnabled is meant to be a security feature.

By secure, let me use the following definitions (hopefully we agree on them):
1) A page that should not be accessed by a user, but can actually be accessed is not secure. Even if the page is not linked to from any other page.
2) A page that should not be accessed and cannot be accessed is secure."

Комментариев нет: