I want to not display or display parts of a page depending on authentication. I have a work around for this that I used in classic asp. I set permissions of a text file, then ask if user has permission on that text file, if the do I show data. But wondered if ASP.Net would let me do this in a more elegant way
Have you looked at the built in authentication features in ASP.NET 2005? http://msdn2.microsoft.com/en-us/library/eeyk640h.aspx http://msdn2.microsoft.com/en-us/library/tw292whz.aspx http://msdn2.microsoft.com/en-us/library/ms178329.aspx The Club Web Site Starter Kit has good entry level examples: http://msdn2.microsoft.com/en-us/vstudio/aa718342.aspx -- Mike Mike McIntyre [MVP] http://www.getdotnetcode.com "ThatsIT.net.au" <me@thatsit> wrote in message news:On1iw721HHA.1100@TK2MSFTNGP06.phx.gbl... >I want to not display or display parts of a page depending on >authentication. I have a work around for this that I used in classic as p. I > set permissions of a text file, then ask if user has permission on that > text file, if the do I show data. But wondered if ASP.Net would let me do > this in a more elegant way >