REMOTE_USER Blank w/o BASIC Password Authentication

Last reviewed: April 22, 1997
Article ID: Q150825

The information in this article applies to:
  • Microsoft Internet Information Server version 1.0

SUMMARY

The Microsoft Internet Information Server (IIS) does not return a username for the variable REMOTE_USER unless the WWW Service Properties dialog box options for BASIC (CLEAR TEXT) Password Authentication is selected and Allow Anonymous is cleared.

If you wish to use the REMOTE_USER variable in a CGI script, you will have to use BASIC (CLEAR TEXT) Password Authentication. With Anonymous authentication, it assumes the user is Anonymous and the variable is not a value assigned.

MORE INFORMATION

The following batch file will display in a browser the environment variables used by IIS to include REMOTE_USER:

   @echo off
   echo Content-Type: text/plain
   echo.
   set


Additional query words: prodnt not selected
Keywords : iissecurity iissetup kbsetup
Version : 1.0 3.5 3.51
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.