Using ASP.Net 2.0, you could do this easily with the new Membership API..it's almost drag and drop.
>I am writing an ASP.Net web application for the intranet where user should get the home page without enetering any userid or password.
>
>Now, based on the userID (using which the user has logged into the machine), I need to allow them to certain links.
>
>How would I make it possible.
>
>I have to set Anonymous access allowed to get to home page without having to eneter user id and password. But when I do so I get HttpContext.Current.User.Identity.Name and Request.ServerVariables["LOGON_USER"] empty in producstion server.
>
>How would I do this. Any help on this matter is appreciated.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer