Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 15, 2012 12:57 PM by wendy elizabeth
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?
Jun 14, 2012 04:30 PM|LINK
Pls ref this
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.