Friday, November 11, 2011

SecurityTrimmingEnabled Issue

We Faced a weird issue in our application today. We have a horizontal menu in the header portion of our application.

In development environment all menu items are getting rendered.

WithAllMenu

Some of the menu items refered the web links which links are part of another application.

But when we drop the executables to the QA environment, above mentioned menu items are not rendered.

WithoutAllMenu

The QA environment is SSL enabled application and the outside application is non-SSL enabled.

So we found that, when the Webmenu.Sitemap constructs the menu,
it does not show the non-SSL links when those links are invoked from SSL enabled.

We did not get any warning messages. After analyzed a lot, we understand that, we have to switch off the setting

SecurityTrimmingEnabled to false since we are not using windows accounts for roled based menu.

code

To know more about that visit the following links.

http://blogs.msdn.com/b/dannychen/archive/2006/03/16/553005.aspx

No comments:

Post a Comment