<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Security</title><link>http://forums.asp.net/25.aspx</link><description>All about ASP.NET security (authentication, authorization, membership, roles, etc.) and the Login controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=24&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Program administrative mernu selection</title><link>http://forums.asp.net/thread/555124.aspx</link><pubDate>Mon, 26 Apr 2004 20:54:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:555124</guid><dc:creator>rjdudley</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/555124.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=555124</wfw:commentRss><description>That's where I'd put if, but that depends on your page design.  If your menu is generated by a user control, put it there.</description></item><item><title>Re: Program administrative mernu selection</title><link>http://forums.asp.net/thread/554561.aspx</link><pubDate>Mon, 26 Apr 2004 14:59:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:554561</guid><dc:creator>thuhue</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/554561.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=554561</wfw:commentRss><description>Are we going to put the if... statement in the page load method?
&lt;br /&gt;
Thanks.</description></item><item><title>Re: Program administrative mernu selection</title><link>http://forums.asp.net/thread/554396.aspx</link><pubDate>Mon, 26 Apr 2004 12:46:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:554396</guid><dc:creator>rjdudley</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/554396.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=554396</wfw:commentRss><description>You could use an if...then statement, and check the IP address of the visitor.</description></item><item><title>Program administrative mernu selection</title><link>http://forums.asp.net/thread/554045.aspx</link><pubDate>Mon, 26 Apr 2004 01:36:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:554045</guid><dc:creator>thuhue</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/554045.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=554045</wfw:commentRss><description>Many web sites include username/password checking upon logon reserved for administrative use in one of the following:
&lt;br /&gt;

&lt;br /&gt;
(1) A username/password logon window appears immediately when the user accesses the site. 
&lt;br /&gt;

&lt;br /&gt;
(2) The site would include on the main menu an administrative selection the user can click on to bring up the administrative logon window as described in (1). 
&lt;br /&gt;

&lt;br /&gt;
Here's my question on (2): How can we program the page to display the administrative menu selection only for preselected user IP addresses and hide the menu item completely for all others?
&lt;br /&gt;

&lt;br /&gt;
Thanks for any contribution.</description></item></channel></rss>