ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up) - Jon Galloway

ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Summary

ASP.NET 2005 introduced a pretty solid menu which is integrated with a configuration driven sitemap. The cool part is that the menu can be hooked in with your security roles, so you don't have to worry about hiding or showing menu options based on the user - the menu options are automatically kept in sync with what the user is allowed to see. We'll talk about how to set this up, using an example from a website I worked on recently.

If you're familiar with ASP.NET sitemaps and menus, skip to the end to read a trick for working around cases when you want to do something more complex, such as have a page to be accessible to a user role, but not to show up in the menu.

The Video.Show site was originally planned to have only one class of user, with no user restrictions other than requiring a quick registration before commenting on videos or uploading videos. With that being the case, we just included a static menu in the masterpage, defined as <asp:MenuItem> elements. As we were gearing up for the first beta release, it became obvious that our user model was too simple. Hosted installations would probably want to allow users to register and begin commenting right away, not give all these users upload rights. That implied four classes of user now: unauthenticated, commenter, uploader, and also administrator (implied by the requirement to manage multiple user classes). That meant role management and new menu items to be kept in sync - the right time to move to a sitemap driven menu with security trimming.

Step One - Define The Sitemap

I'm using a static sitemap defined in a Web.sitemap file, and it's especially simple since there's no is no hierarchy involved. This uses the default XmlSiteMapProvider; there are other sitemap providers available on the internets, such as a SQL Sitemap Provider for database driven site structure, or you can implement your provider if you've got a custom situation.

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
  <siteMapNode roles="*">
    <siteMapNode title="Home" url="~/Default.aspx" />
    <siteMapNode title="Videos" url="~/Tags.aspx" />
    <siteMapNode title="Members" url="~/MemberList.aspx" />
    <siteMapNode title="My Page" url="~/MyPage.aspx" />
    <siteMapNode title="My Recent Views" url="~/RecentViews.aspx" />
    <siteMapNode title="Upload a Video" url="~/Upload.aspx" />
    <siteMapNode title="Administer Users" url="~/AdministerUsers.aspx" />
  </siteMapNode>
</siteMap>

Note that the IntelliSense for a .sitemap file is misleading:

Sitemap Intellisense

While the XSD for .sitemap files (from which the IntelliSense is derived) includes "securityTrimmingEnabled" attribute, it's incorrect. It's the result of an old VS 2005 bug that's still around. That value should be set in web.config; we'll take care of that next.

Step Two - Declare The Sitemap in web.config

A few things to notice here:

  • I define the provider type as System.Web.XmlSiteMapProvider
  • I specify the siteMapFile as the Web.sitemap file we've just discussed
  • I set securityTrimmingEnabled="true"
<siteMap enabled="true">
  <providers>
    <clear/>
    <add siteMapFile="Web.sitemap" name="AspNetXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" securityTrimmingEnabled="true"/>
  </providers>
</siteMap>
This is really just overriding the default sitemap settings from %windir%\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config, which also uses the name AspNetXmlSiteMapProvider, but which doesn't include security trimming.

Step Three - Set required roles for the pages

This section of the web.config looks long, but you'll see it very repetitive. MSDN's information on setting up authorization rules is pretty well written, so take a look there if you'd like more info. The high points:

  • Rules are processed top to bottom. For example in the Upload.aspx case, a user in the Uploader role is allowed right off the bat, everyone else is denied.
  • Pages which are displayed to all authenticated users just need to deny unauthenticated users, like this: <deny users=?">
  • There's no wildcard for roles, so you can't say something like <allow roles="*">.
  • Role based permissions is configured by default in machine.config (using both AspNetSqlRoleProvider and AspNetWindowsTokenRoleProvider). The Sql Role Provider assumes a database connectionstring named LocalSqlServer, so if your profile information is stored somewhere else you'll need to make sure the rolemanager is configured correctly.
<location path="Upload.aspx">
  <system.web>
    <authorization>
      <allow roles="Uploader"/>
      <deny users="*" />
    </authorization>
  </system.web>
</location>
<location path="Profile.aspx">
  <system.web>
    <authorization>
      <deny users="?" />
    </authorization>
  </system.web>
</location>
<location path="MyPage.aspx">
  <system.web>
    <authorization>
      <deny users="?" />
    </authorization>
  </system.web>
</location>
<location path="RecentViews.aspx">
  <system.web>
    <authorization>
      <deny users="?" />
    </authorization>
  </system.web>
</location>
<location path="AdministerUsers.aspx">
  <system.web>
    <authorization>
      <allow roles="Administrator"/>
      <deny users="*"/>
    </authorization>
  </system.web>
</location>

Step Four - Add A Sitemap Data Source and a Menu to your Master Page

<asp:SiteMapDataSource runat="server" ID="siteMapDataSource" ShowStartingNode="false" />
<asp:Menu runat="server" ID="MainMenu" Orientation="Horizontal" DataSourceID="siteMapDataSource" />
 
You'll probably want to style the menu, too. I'm a fan of the CSS Friendly Control Adapters, which changes the HTML output to use clean UL. Without the Control Adapter, the Menu control outputs nested tables manipulated by JavaScript. Here's what the above menu looks like for a user who's logged in but isn't in the Administrator or Uploader roles:
 Video.Show Menu

The Payoff - Everything is Managed In One Place

That may seem like a lot to configure, and you might be wondering if it isn't easier to just write write your own code to handle access and menu management.

First off, the above actually goes pretty quickly - hopefully this post or others I've linked to make it a little faster.

Secondly, the real payoff is that you've now got a reliable, maintainable solution to controlling page access, and it's all automatically kept in sync. Let's say we want to add a new page that's only visible to users with Uploader rights - maybe a page (MyVideos.aspx) where they can edit or delete videos they've previously uploaded. I'd only need to add one page to the sitemap file, set the access rule in web.config to allow Uploaders and deny everyone else, and the page will only show up in the menu when an Uploader has logged in. This is a good application of the Don't Repeat Yourself philosophy. We don't have one set of logic determining what pages users are allowed to view and another set which determines what pages they should see in the menu; these are both the same list and should be handled that way.

Tip - Use a Url Mapping to alias pages when your access and menu visibility are more complex

I wanted to point out one other tip that came in handy here. Before we realized the need for different user types, we had one page called Member.aspx, which served two purposes. If the querystring contained some other user's userid, it would show their public profile and a list of their videos. We also repurposed it as My Page, determined by navigating to the page as a logged in user without using a querystring.

When we hooked up the menu and page access, we had a problem. We only wanted to show My Page in the menu when a user was logged in, but we needed the Member.aspx page to be viewable by anonymous users, because it was used for public user profiles, too. The simple solution was to set up a Url Mapping which created a virtual MyPage.aspx (mapped to Member.aspx). Now we could set different access rights to MyPage.aspx and Member.aspx, as shown in the Step Three code sample - Member.aspx is public, and MyPage.aspx requires authentication. Here's how the Url Mapping was set up:

<urlMappings>
  <add url="~/MyPage.aspx" mappedUrl="~/Member.aspx"/>
</urlMappings>
Published Saturday, January 26, 2008 10:03 PM by Jon Galloway

Comments

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Good stuff and nice trick!

My main project is on 1.1, but the security/sitemap system we created allows a very similar maneuver.

What security mechanism do you use for actions controlling CRUD as well as special permissions on pages?

Sunday, January 27, 2008 2:16 AM by Jeff Handley

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Cool trick!

I just know it's a bug.

Tuesday, February 12, 2008 10:10 PM by Diane

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

There's no context for the samples provided.  

e.g. if i were to add the location nodes to my web.config, where do i do this?  Why force me to go and look for the information on another site when you could have specified this in one line of text?  The same goes for the other configuration elements mentioned here.  Otherwise, thanks for the info about the bug.

Sunday, May 11, 2008 8:08 PM by dotnetdoc

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

The Video.Show site was originally planned to have only one class of user, with no user restrictions other than requiring a quick registration before commenting on videos or uploading videos. With that being the case, we just included a static menu in the masterpage, defined as <asp:MenuItem> elements. As we were gearing up for the first beta release, it became obvious that our user model was too simple. Hosted installations would probably want to allow users to register and begin commenting right away, not give all these users upload rights. That implied four classes of user now: unauthenticated, commenter, uploader, and also administrator (implied by the requirement to manage multiple user classes). That meant role management and new menu items to be kept in sync - the right time to move to a sitemap driven menu with security trimming.

Monday, May 12, 2008 3:21 AM by Ahamed

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Hi Jon,

In the middle of a similar problem where css adapters may help.  I notice that when I run:

http://videoshow.vertigo.com/

choose Members, it leaves Members nicely highlighted.  Once I choose a member to look at, I lose the context.  That is, neither Home, Videos or Members remains highlighted.  

My problem is I have two rows of nav.  Primary row is category, secondary row is details of that category.  I always want to keep primary highlighed and secondary when person goes in.

If you have an ideas, feel free to post.  Hopefully, I'll figure it out and post on my blog.  This is all about the new code camp site.  Did I mention that?  Silicon Valley Code Camp is 11/8-9.  :)

Sunday, May 18, 2008 7:50 PM by pkellner

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Hi, where abouts in the Web.Config do you put the location nodes?  Thanks

Wednesday, June 4, 2008 10:44 AM by wilbo

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

//This fixed everything for me in the StaticSiteMapProvider

       public override bool IsAccessibleToUser(HttpContext context, SiteMapNode node)

       {

           foreach (string role in node.Roles)

               if (context.User.IsInRole(role))

                   return true;

           return false;

           //return base.IsAccessibleToUser(context, node); //seems to always return true;

       }

Tuesday, September 16, 2008 10:47 AM by john

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

how to add a url with multiple querystring values in sitemap file in .net2.0

Thanks & Regards

Rajesh Yadav

Thursday, January 8, 2009 7:21 AM by rajesh yadav

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

You have a link to a non-existent page that is part of this explanation, labelled

"make sure the rolemanager is configured correctly."

Thursday, May 14, 2009 1:58 PM by Jimbo

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I'm trying to get my blog running on MySQL but the problem is that it is taking it long time trying to load the page but nothing happens !!!

one more thing I have modified at the connection string which is the provider I used MySql provider instead of MSSQL

any clue why am I getting the strange behavior ?

Sunday, May 24, 2009 11:09 AM by ZK@Web Marketing Blog

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

This is a wonderful post, very clear and well-written. I was able to implement this right away.

Tuesday, June 9, 2009 10:21 AM by Liz

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Big thx for this step-by-step tutorial. I am facing a problem that my menu is not updated (nodes shown/hidden)correctly when i switch the role while i am on a page used in location path in web.config.

It gets only updated when i click the menu a second time, or reload the page.

When i switch the role while i am on a site not mentioned in the webconfig (allowed to be accessed by every user) and i switch my role the menu gets updated correctly.

Anybody else faced the problem?

Saturday, June 27, 2009 1:00 PM by thomas

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

This solution is not working for second level of folders. It works correctly only for pages in root folder, tried many solutions but no progress.

Friday, October 23, 2009 10:16 AM by Kris

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I've sorted problem of nested folders not working correctly basically it cannot take "~/" and the folder name needs to be like this:

<location path="Sub1/AdminOnly.aspx" allowOverride="false">

<system.web>

<authorization>

<allow roles="Administrator"/>

<deny users="*"/>

</authorization>

</system.web>

</location>

AND NOT like

<location path="~/Sub1/AdminOnly.aspx" allowOverride="false">

<system.web>

<authorization>

<allow roles="Administrator"/>

<deny users="*"/>

</authorization>

</system.web>

</location>

Regards

Kris

Friday, October 23, 2009 10:29 AM by Kris

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Why You Are Not Giving A Demo Code !!!

Thursday, May 20, 2010 5:24 AM by Rakesh

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Hi,

I am currently using ADFS authentication mechanism to authenticate the user. In that case I am setting authenticationmode as None instead of forms authentication. After the user loggedIn successfully the claims object will provide the role data associated with the loggedIn user so in that case how the sitemap roles attribute will be able to pick up the role from the claims object. Can you explain me how the securityTrimmingEnabled property will be used.

I used the custom class ADFSRoleProvider.cs which inherits the RoleProvider class and overridden the method GetRolesForUser method but the method is not invoked unless I am setting the

<authentication mode="Forms"/>

and this in turn is also not able to interact with the roles attribute mentioned in the siteMapNode node.

The main issue is after the user logins in successfully using the ADFS authentication mechanism how will the sitemap role attribute know about the role of the loggedIn User.

Could please provide some code sample and help regarding the above mentioned issue.

Thanks & Regards,

Santosh Kumar Patro

Friday, November 18, 2011 3:59 PM by santosh.patro

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

hello... I am using membership,menu,sitemap

Monday, April 16, 2012 1:59 PM by hhhh

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

naturally like your website but you have to check the spelling on several of your posts.

Several of them are rife with spelling problems and I find it

very bothersome to inform the reality then again I'll definitely come again again.

Thursday, August 16, 2012 3:01 PM by Pence

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I am not sure where you are getting your information,

but great topic. I needs to spend some time learning much more or understanding more.

Thanks for great info I was looking for this information for my mission.

Monday, October 1, 2012 11:31 AM by Cady

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

My family all the time say that I am killing my time here at net, except I know I am getting experience

every day by reading thes nice content.

Tuesday, October 2, 2012 12:30 AM by Powell

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Thanks in support of sharing such a pleasant thought, article is fastidious, thats why

i have read it entirely

Thursday, October 4, 2012 9:44 AM by Sheldon

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I am new to developing web sites and I was wanting to know if having your website title relevant to your articles and other content really that crucial?

I see your title, " ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up) " does seem to be spot on with

what your website is about however, I prefer to

keep my title less content descriptive and based more around site branding.

Would you think this is a good idea or bad idea?

Any assistance would be greatly appreciated.

Thursday, October 4, 2012 10:36 PM by Gil

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Hello there just happened upon your website via Google after I typed in, " ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)" or perhaps something similar (can't quite remember exactly). Anyways, I'm glad I found it simply because your content is exactly

what I'm searching for (writing a college paper) and I hope you don't mind if I collect some material from here and I will of course credit you as

the source. Thanks for your time.

Friday, October 5, 2012 3:51 PM by Albritton

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Hello there! Would you mind if I share your blog with my facebook group?

There's a lot of people that I think would really enjoy your content. Please let me know. Thanks

Friday, October 5, 2012 3:57 PM by Franklin

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

pukgs<a href=> </a>

kqaoq<a href=> </a>

bzwxa<a href=> </a>

bcsng<a href=> </a>

tyuaf<a href=> </a>

Monday, October 22, 2012 2:01 AM by Jimmytl0jh

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I was sent here from the Perez Hilton website

Monday, October 22, 2012 7:11 PM by Menard

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Having read this I believed it was very informative.

I appreciate you finding the time and effort to put this short article together.

I once again find myself personally spending a lot

of time both reading and commenting. But so what, it was still worthwhile!

Thursday, October 25, 2012 8:39 PM by Bush

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

It's the best time to make some plans for the future and it is time to be happy. I've read this post and if I

may I want to recommend you some attention-grabbing issues or advice.

Perhaps you can write subsequent articles regarding this article.

I desire to read more things about it!

Friday, October 26, 2012 12:55 AM by Cuellar

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

This is the right site for anyone who really wants to find

out about this topic. You understand so much its almost tough to argue with you

(not that I actually would want to…HaHa). You certainly put a brand new

spin on a topic that's been written about for years. Excellent stuff, just excellent!

Wednesday, October 31, 2012 2:22 AM by Irby

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I believe this is one of the so much vital information for

me. And i am happy studying your article. However wanna observation on few common issues, The web site

taste is great, the articles is in reality great : D.

Just right job, cheers

Wednesday, October 31, 2012 11:38 AM by Mackenzie

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Hi i am kavin, its my first occasion to commenting anywhere, when i read this post i thought i could also make comment due to this good paragraph.

Saturday, November 3, 2012 1:36 PM by Abernathy

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

TwellaJep  <a href=></a>

TotInsuts  <a href=></a>

guethighsiz  <a href=></a>

Audisrurn  <a href=></a>

TotInsuts  <a href=></a>

Wednesday, November 7, 2012 1:41 AM by Farlescamma

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I was recommended this blog by my cousin. I'm not sure whether this post is written by him as no one else know such detailed about my problem. You're amazing!

Thanks!

Saturday, November 10, 2012 1:29 AM by Tejada

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I hunger for to compliment Obama on his success!

Tuesday, November 13, 2012 7:13 AM by Dabraite

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I every time used to study paragraph in news papers but

now as I am a user of web so from now I am using net for

articles or reviews, thanks to web.

Sunday, November 25, 2012 8:18 PM by Small

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Hello, i think that i noticed you visited my web site

so i came to return the desire?.I'm trying to in finding things to improve my site!I suppose its ok to make use of a few of your ideas!!

Monday, November 26, 2012 3:26 PM by Sandlin

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I was wondering if you ever thought of changing the structure of your website?

Its very well written; I love what youve got to say.

But maybe you could a little more in the way of content so people could

connect with it better. Youve got an awful lot of text for

only having one or 2 images. Maybe you could

space it out better?Watch The Good Wife Season 4 Episode 9 Online

Tuesday, November 27, 2012 2:41 AM by Drake

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

If some one wants expert view on the topic of running a blog then i propose him/her to pay a visit this weblog, Keep up

the nice work.

Tuesday, December 4, 2012 8:18 AM by Baggett

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

What a data of un-ambiguity and preserveness of precious knowledge on the topic of unexpected emotions.

Wednesday, December 12, 2012 4:02 AM by Langford

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Good post. I'm dealing with a few of these issues as well..

Wednesday, December 12, 2012 8:44 PM by Fleck

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I usually do not create a comment, but I read a bunch of remarks on ASP.

NET Menu and SiteMap Security Trimming (plus a trick for when your menu

and security don't match up) - Jon Galloway. I actually do have 2 questions for you if it's allright.

Is it just me or does it give the impression like

a few of these comments look as if they are coming from brain dead folks?

:-P And, if you are writing at other social sites, I would like to follow anything fresh you have

to post. Would you make a list of all of your social networking pages like your linkedin profile, Facebook page or

twitter feed?

Thursday, December 13, 2012 5:26 PM by Lima

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Hey there would you mind letting me know which webhost you're utilizing? I've loaded your blog in 3 completely different web browsers and I must say

this blog loads a lot faster then most. Can you recommend a good internet hosting provider at a fair price?

Thanks, I appreciate it!

Saturday, December 15, 2012 6:15 PM by Benavidez

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Thanks to my father who told me about this web site,

this website is genuinely amazing.

Monday, December 17, 2012 7:51 PM by Greenwood

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

you're in reality a good webmaster. The website loading pace is amazing. It seems that you're doing any distinctive trick.

Moreover, The contents are masterwork. you have done a fantastic activity on this subject!

Tuesday, December 18, 2012 10:19 AM by Gorham

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

If you become aware that you have a ringworm infection, find a reputable ringworm cream and begin treatment as soon as possible to keep the infection from getting more severe.

Tuesday, December 18, 2012 2:24 PM by Ringworm Cure

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I'd have to ensure with you here. Which is not a touch I customarily do! I have evaluation a post that will achieve nation ponder. As well, merit for allowing me to comment!

Sunday, December 23, 2012 8:59 AM by Schwab

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I really like what you guys are up too. This type

of clever work and reporting! Keep up the good works guys Ive added you guys to our blogroll.

Sunday, December 30, 2012 11:01 AM by Batiste

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Hello colleagues, its wonderful piece of writing concerning

educationand completely defined, keep it up all the time.

Sunday, December 30, 2012 6:15 PM by Heller

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

It's hard to find well-informed people in this particular topic, but you sound like you know what you're talking about!

Thanks

Monday, January 7, 2013 6:48 PM by Kaplan

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Aw, this was an exceptionally good post. Finding the time and actual effort to generate a superb article… but what

can I say… I hesitate a lot and don't manage to get nearly anything done.

Tuesday, January 15, 2013 12:07 PM by Whalen

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Fantastic site. Lots of helpful info here. I'm sending it to several friends ans additionally sharing in delicious. And certainly, thanks for your sweat!Visit our polish website at Okna drewniane

Sunday, January 20, 2013 6:48 AM by Thayer

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Thanks for finally talking about >ASP.NET Menu and SiteMap Security Trimming

(plus a trick for when your menu and security don't match up) - Jon Galloway <Loved it!

Monday, January 21, 2013 2:54 AM by Burdette

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

First of all I would like to say awesome blog!

I had a quick question which I'd like to ask if you don't

mind. I was interested to know how you center yourself and clear your thoughts prior to writing.

I've had difficulty clearing my thoughts in getting my thoughts out there. I do take pleasure in writing however it just seems like the first 10 to 15 minutes are usually lost just trying to figure out how to begin. Any ideas or tips? Thanks!

Tuesday, January 22, 2013 12:04 AM by Toler

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

With havin so much content and articles do

you ever run into any problems of plagorism or copyright violation?

My site has a lot of completely unique content I've either created myself or outsourced but it appears a lot of it is popping it up all over the internet without my permission. Do you know any methods to help protect against content from being stolen? I'd genuinely appreciate it.

Saturday, January 26, 2013 8:20 PM by Cato

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Cheap VPS or virtual private server is the ultimate solution to costly maintenance web servers. In fact, virtual private server is more advanced than shared hosting & is more like dedicated server, but to emphasize, at a much lower cost. The low cost of virtual private server is the significant difference between shared web-site hosting and dedicated server. A slightly advanced than shared website hosting and has the features of a dedicated server, but it is way cheaper than a dedicated server. The financial advantage of using virtual private server is not the only advantage it could give to its customers or users. Explained below are the additional advantages and disadvantages of using cheap virtual private servers.  

Advantages of Cheap VPS:  

The first thing that you could get from your individual virtual private server is the root access to your server. It means that you can have access to the root level of the hosting server. Thus, you have the ability to put in & configure any programs you require. Additionally, you can also host a limitless number of net sites through Apache's virtual hosts & manage them efficiently. Not only this, but you can also host other services, such as a mail server, an FTP server, or any type of server you want. You may even use VPS for file storage or as a backup for all of your files. Since VPS is isolated from other sites present on the physical server, it is secured that no harmful script or application used by other webmaster, that can harm your website.  

Disadvantages of Cheap VPS:  

There are definite disadvantages in using cheap VPS or virtual private servers. For, you cannot get managed servers. This means that in case you have no idea how to set up & configure your own VPS, it is a huge disadvantage. This disadvantage leads us to get another disadvantage, that is, you are solely responsible of all the installation, maintenance, security measures and updates on your VPS. Thus, in the event you do not possess the high-proficiency in using the VPS to control the working of the net site, the applications used, & the server resources skillfully, you will have a major issue & your VPS becomes unmanageable. Additionally, cheap VPS hosting designs might give you a whole operating process of your own to work with, you still share hardware resources with other VPS users on the host server. Therefore, in the event you are jogging intensive programs that need high performance, you may need to make use of other technique of website hosting, such as co-location or a dedicated server.  

Remember, the great features & capabilities of the dedicated server are available for pricey fees to you. So if your web-site does not need high finish performance, cheap VPS are ideal for you. They are economical, efficient and offer excellent benefits for your website. Therefore, cheap VPS or virtual private servers can be reliable, but since it on a budget plan, do not expect as much as you would from expensive VPS plans.

Monday, January 28, 2013 5:46 PM by jaitteecy

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Amazing! Its actually remarkable post, I have got much clear idea regarding from

this article.

Friday, February 1, 2013 2:09 AM by Pinkney

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Great stuff and wowzer to all of you from me to you.

Monday, February 4, 2013 11:42 AM by zquiet reviews

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Excellent beat ! I would like to apprentice while you amend your site, how could i subscribe for

a weblog web site? The account helped me a applicable deal.

I have been a little bit familiar of this your broadcast offered vibrant

clear idea

Thursday, February 7, 2013 4:34 PM by Cantu

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

The post features verified helpful to us. It’s really informative and you're obviously quite experienced in this area. You possess opened my eyes in order to various views on this particular topic using intriguing and sound content material.

Friday, February 8, 2013 3:59 AM by Oswalt

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

The write-up features proven useful to me

personally. It’s extremely useful and you really are

obviously extremely knowledgeable of this type.

You have exposed my personal eye to be able to different

opinion of this kind of topic along with intriguing and reliable written content.

Sunday, February 10, 2013 9:05 PM by Arreola

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Wow! Finally I got a web site from where I be capable of actually obtain helpful information concerning my study and knowledge.

Monday, February 11, 2013 12:45 PM by Goodrich

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Nice post. I learn something totally new and challenging on websites I stumbleupon everyday.

It's always helpful to read through content from other writers and practice something from their web sites.

Tuesday, February 12, 2013 2:08 AM by Desimone

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Woah! I'm really enjoying the template/theme of this website. It's simple, yet effective.

A lot of times it's hard to get that "perfect balance" between superb usability and appearance. I must say that you've done a amazing job with this.

Also, the blog loads super fast for me on Safari.

Exceptional Blog!

Tuesday, February 12, 2013 6:13 PM by Floyd

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I have been browsing on-line greater than 3 hours lately, but I by no means found any attention-grabbing article like yours.

It is lovely value sufficient for me. Personally, if all site owners and bloggers

made just right content as you probably did, the net will probably be much more helpful than ever before.

Wednesday, February 13, 2013 5:41 AM by Kruger

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Howdy! Quick question that's entirely off topic. Do you know how to make your site mobile friendly? My weblog looks weird when viewing from my iphone4. I'm trying to find a

template or plugin that might be able to fix this issue.

If you have any recommendations, please share. Appreciate it!

Wednesday, February 13, 2013 4:08 PM by Winchester

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

What's up colleagues, its wonderful paragraph concerning tutoringand fully explained, keep it up all the time.

Thursday, February 14, 2013 8:38 PM by Harmon

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I seriously love your site.. Excellent colors & theme. Did you create this

website yourself? Please reply back as I'm attempting to create my very own website and would love to learn where you got this from or exactly what the theme is called. Thanks!

Friday, February 15, 2013 9:06 PM by Cox

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Hi to every one, because I am actually eager

of reading this web site's post to be updated on a regular basis. It includes good stuff.

Saturday, February 16, 2013 9:49 PM by Lieberman

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

sally slender, wat a girl

Tuesday, February 19, 2013 5:51 AM by buy slendex

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Outlines f¸r m¸heloses Uhren Systems

Thursday, February 21, 2013 9:37 PM by Leavitt

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

It's an amazing article designed for all the online users; they will obtain advantage from it I am sure.

Friday, February 22, 2013 8:57 AM by Pauley

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

First off I would like to say terrific blog! I had a quick question in

which I'd like to ask if you don't mind. I was interested to

find out how you center yourself and clear your thoughts prior to writing.

I have had difficulty clearing my mind in getting my thoughts out there.

I do enjoy writing however it just seems like the first 10 to 15 minutes are generally lost just trying to figure out how to begin.

Any recommendations or hints? Kudos!

Friday, February 22, 2013 6:58 PM by Doll

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

The other thing that you cannot do is to remain understood was on " What's forwards : Tool and Neal search for the make your Ways To Get Ex Back deucedly, and you testament get your Ways To Get Ex Back very soft than you imagined.

Saturday, February 23, 2013 3:51 PM by Sipes

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Undeniably believe that which you said. Your favorite reason appeared to be on

the internet the easiest thing to be aware of. I say to you, I certainly get annoyed while people consider worries that they plainly don't know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people could take a signal. Will probably be back to get more. Thanks

Saturday, February 23, 2013 7:32 PM by Denham

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Spot on with this write-up, I really believe that

this website needs much more attention. I'll probably be returning to see more, thanks for the info!

Monday, February 25, 2013 12:07 AM by Hutcheson

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

foe the past few days back i have so many doubts in coding to use Asp.net but today i really feel so happy to reading this content.

Tuesday, March 19, 2013 7:21 AM by pregnancy miracle book scam

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

thats why php powned asp

Wednesday, March 20, 2013 2:55 AM by concord computer repair

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

0 down vote

After lots of experimenting, we think we narrowed it down. We are forced to use cookie-less session state on this system and that seems to be the problem. Our development machines have a major difference in that they have .net 4.5 installed on them. The production server as well as a few other developers only have .net 4.0 installed. If we allow a cookie, it works just fine. It seems that the paths are not being handled properly on the 4.0 machines in cookie-less session state which breaks the security trimming. Some more testing is needed to verify this. Unfortunately updating the production machine is not an option.

Thursday, April 4, 2013 4:01 AM by customized fat loss by kyle leon

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I for all time emailed this webpage post page to all my friends,

as if like to read it then my friends will too.

Friday, April 12, 2013 8:13 AM by Arreola

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Everything is very open with a very clear clarification of the challenges.

It was truly informative. Your website is very helpful. Thanks for sharing!

Monday, April 15, 2013 1:37 PM by Bisson

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

A talented attorney will pull you out of this miserable condition immediately.

That's when it is bright idea to hire a lawyer to assist you'll.

Thursday, May 9, 2013 5:54 AM by Lawless

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Life quotes compared apply a person's attribute on a person's chick.

Thursday, May 9, 2013 7:55 PM by Morrissey

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I'm a writer from Dayton, United States just submitted this to a coworker who was doing a little research on this. And she in fact ordered me lunch only because I discovered it for her... lol. Actually, allow me to paraphrase this.... Thanks for the meal... But yeah, thanks for spending some time to talk about this issue here on your site.

Saturday, May 11, 2013 12:36 PM by Spear

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

When someone writes an paragraph he/she retains the thought of a user

in his/her brain that how a user can know it. Therefore that's why this post is amazing. Thanks!

Wednesday, May 15, 2013 6:00 PM by Toledo

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

I used to be able to find good info from your blog posts.

Thursday, May 16, 2013 7:05 AM by Ashton

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

What's Taking place i am new to this, I stumbled upon this I've discovered It positively helpful

and it has helped me out loads. I'm hoping to give a contribution & help different users like its aided me. Great job.

Friday, May 17, 2013 4:00 AM by Caron

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Your advice is incredibly fascinating.

Friday, May 17, 2013 2:04 PM by totarireNar

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

On sole hand, you're very much proud that he or she often is growing up. A Mom or dad ad Litem are usually a legal separation and family The legal system lawyer.

Saturday, May 18, 2013 11:12 PM by Pritchett

# re: ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

a whole lot worse as compared actually nagged to deaths.

Monday, May 20, 2013 5:26 PM by Poe