Ajay Sawant


I have publishing site with FBA enabled and have following site structure

Home [Anonymous Access Enabled]

|___ News [Anonymous Access Disabled]

|___ Updates [Anonymous Access Disabled]

Default Behavior

When user reaches the web site he has only home tab visible and once user is logged into the site then he can see all tabs like [Home | News | Updates]

My Requirement

I would like to show all the tabs in pre login state. But when user click on News or Updates tab he should be redirected to login page since he is in pre login state.

I am using CombinedNavSiteMapProvider from siteMap > providers section with securityTrimmingEnabled="false" but no luck.

Please let me know if I am heading towards wrong direction.

Thanks

Aj



Re: MOSS + FBA + Navigation + Anonymous Access Enabled/Disabled

John D. Ross


We ran into something similar. You've got a few options, but my suggestion would be to write some code on the News and Updates page that checks whether the user has signed in or not. If they haven't you show the login, if they have show the content. This prevents you from having to modify the navigation behavior.

-John

www.sharepointblogs.com/rossonmoss





Re: MOSS + FBA + Navigation + Anonymous Access Enabled/Disabled

Ajay Sawant

Thanks John, I end up creating custom navigation control for this.