Results 1 to 4 of 4

Thread: Forms to Basic authentication. Can it be done.

  1. #1

    Thread Starter
    Hyperactive Member Al Smith's Avatar
    Join Date
    May 1999
    Location
    Marcellus, MI. USA
    Posts
    330

    Forms to Basic authentication. Can it be done.

    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.
    A computer is a tool, not a toy.

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    Can you elaborate. I dont understand what you are trying to do.

  3. #3

    Thread Starter
    Hyperactive Member Al Smith's Avatar
    Join Date
    May 1999
    Location
    Marcellus, MI. USA
    Posts
    330
    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.
    A computer is a tool, not a toy.

  4. #4
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    You can use form authentication, but instead of putting 'Forms', put 'Windows'.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width