Hi,
I would like to implement a web application in the following way:
1. If the user comes from within the domain (intranet), he shall be authenticated by windows.
2. If the user comes from the internet (anonymous), he shall be authenticated by forms (username and password will be taken from a database table).
It seems not possible to use both windows and forms authentication in the root web.config file of an application. I am thinking of creating two identical applications, only different in the authentication mode (one with windows, the other with forms). But this is not really elegant... Does anybody have a clue? Any help is appreciated!
Thanks,
Conrad
I would like to implement a web application in the following way:
1. If the user comes from within the domain (intranet), he shall be authenticated by windows.
2. If the user comes from the internet (anonymous), he shall be authenticated by forms (username and password will be taken from a database table).
It seems not possible to use both windows and forms authentication in the root web.config file of an application. I am thinking of creating two identical applications, only different in the authentication mode (one with windows, the other with forms). But this is not really elegant... Does anybody have a clue? Any help is appreciated!
Thanks,
Conrad