I would like to know how to modify a sitemap and/or change some C# 2010 code to not allow certain users access to this new web page.
I am basically adding a new web form page to an existing C#.net 2010 application. I am adding some web pages that will be displayed from the main page.
Right now the contractor that setup this application, had 'shells' for the modules that will be added at different points. When the existing web page displays that I am going to add to this website, the page is pointed to a 'mapped url' that displays 'the
site is under construction'.
In the web.config file, there is a sitemap that says who access the web page. I tried to give the sitemap a user role that does not exist in the active directory and the web page still displayed.
Thus can you tell me and/or point me to a reference on how to modify the sitemap and/or add some code to the application so only users under a certain role have access this this new web page?
wendy elizab...
Member
321 Points
390 Posts
modify sitemap and/or C# logon code
Jun 14, 2012 04:16 PM|LINK
I would like to know how to modify a sitemap and/or change some C# 2010 code to not allow certain users access to this new web page.
I am basically adding a new web form page to an existing C#.net 2010 application. I am adding some web pages that will be displayed from the main page.
Right now the contractor that setup this application, had 'shells' for the modules that will be added at different points. When the existing web page displays that I am going to add to this website, the page is pointed to a 'mapped url' that displays 'the site is under construction'.
In the web.config file, there is a sitemap that says who access the web page. I tried to give the sitemap a user role that does not exist in the active directory and the web page still displayed.
Thus can you tell me and/or point me to a reference on how to modify the sitemap and/or add some code to the application so only users under a certain role have access this this new web page?
RameshRajend...
Star
7983 Points
2099 Posts
Re: modify sitemap and/or C# logon code
Jun 14, 2012 04:30 PM|LINK
Hai
Pls ref this
http://msdn.microsoft.com/en-us/library/ms178425.aspx
Check this
http://stackoverflow.com/questions/5223520/c-sharp-change-my-sitemap-from-ashx-to-xml
Thank u
wendy elizab...
Member
321 Points
390 Posts
Re: modify sitemap and/or C# logon code
Jun 15, 2012 12:57 PM|LINK
Is there a way that you can use the existing sitemap? I would prefer not to write overrride code unless I need to.