Is there any way to get Forms authentication to actually logon to the server as if Basic authentication were used?
I've perused all of the threads regarding authentication methods and haven't found a yes/no answer to this.
Thanks,
Al.
Printable View
Is there any way to get Forms authentication to actually logon to the server as if Basic authentication were used?
I've perused all of the threads regarding authentication methods and haven't found a yes/no answer to this.
Thanks,
Al.
Can you elaborate. I dont understand what you are trying to do.
Hi,
I'm trying to replace the generic logon screen that pops up when basic authentication is used with a custom logon screen.
The users that access the website have a user account on the server. The site uses some CGI applications which need to run as that user.
Right now "Basic Authentication" is set in IIS so the generic logon screen pops-up.
When the user logs in, the applications run in that user's environment.
To use Asp.Net's "Forms" authentication anonymous access needs to be enabled. This causes the applications to all run under the IUSR_computer environment.
I've played around with impersonation and the LogonUser function in advapi32 with no success.
Any ideas will be greatly appreciated.
Thanks,
Al.
You can use form authentication, but instead of putting 'Forms', put 'Windows'.