I am having a bit of a problem trying to set up Windows Integrated Authentication on my ASP.NET app.
The problem arises because I have publically available pages and administrator pages.
I managed to set up a test project which used windows authentication to allow access to everyone for top-level pages but only allow a particular group to access pages in the Admin sub-folder and everything worked fine.
However when I tried to translate this across to my main project which uses a SQL Server backend I found that it wouldn't work as no-one had a valid login for SQL. Obviously I don't want to give everyone logins to my database but they all need to be able to see the top-level pages and if I make it anonymous access then the restrictions on the admin pages will no longer work.
Any suggestions as to the best way round this problem?
The problem arises because I have publically available pages and administrator pages.
I managed to set up a test project which used windows authentication to allow access to everyone for top-level pages but only allow a particular group to access pages in the Admin sub-folder and everything worked fine.
However when I tried to translate this across to my main project which uses a SQL Server backend I found that it wouldn't work as no-one had a valid login for SQL. Obviously I don't want to give everyone logins to my database but they all need to be able to see the top-level pages and if I make it anonymous access then the restrictions on the admin pages will no longer work.
Any suggestions as to the best way round this problem?