I have two questions concerning authentication of a intranet website and how to go about doing it.
- I want the first page the user comes to, to be the login page. I could have sworn there was a tag, something like [Authorize] that you put in your C# code that did this for you but I can't find it anymore. Right now the first page is my dafault.aspx. I turned on windows authentication in the web.config file and it automatically logged me in. So that is working, but I want the user to have to login as stated above. What do I have to do?
- I only want to allow people that are in a certain group to have access. How do I add this additional check?