Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8150247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:00:59+00:00 2026-06-06T15:00:59+00:00

I don’t mean form athentication. You know how some webpage just have a popup

  • 0

I don’t mean form athentication. You know how some webpage just have a popup in the browser with something along the line of “This webpage require authorization”? And you have to enter username/password or it return you a “HTTP Status Code – 401 Unauthorized” error? How do you set that up?

I assume this is done with post header right? Because it doesn’t have a form.


On the client end. I am posting using ServerXMLHTTP using the following code:

Dim connection As ServerXMLHTTP
Dim inXML As MSXML2.DOMDocument
Dim outXMLstr, inXMLstr As String
Dim itemsList As IXMLDOMNodeList
Dim itemNode As MSXML2.IXMLDOMNode
Set connection = New ServerXMLHTTP
Set inXML = New DOMDocument
Dim name As String
connection.Open "POST", "http://localhost:46284/", False, CStr("user"), CStr("pass")

In other word, how do I authenticate “user” and “pass” on the server side from the code above.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T15:01:00+00:00Added an answer on June 6, 2026 at 3:01 pm

    Set up basic authentication on the IIS for your site

    To use the UI

    Open IIS Manager and navigate to the level you want to manage. For information about opening IIS Manager, see Open IIS Manager (IIS 7). For information about navigating to locations in the UI, see Navigation in IIS Manager (IIS 7).

    • In Features View, double-click Authentication.
    • On the Authentication page, select Basic Authentication.
    • In the Actions pane, click Enable to use Basic authentication with the default settings.
    • Optionally, in the Actions pane, click Edit to type the default domain and realm.
    • In the Edit Basic Authentication Settings dialog box, in the Default domain text box, type a default domain or leave it blank. Users who do not provide a domain when they log on to your site are authenticated against this domain.
    • In the Realm text box, type a realm or leave it blank. In general, you can use the same value for the realm name as you used for the default domain.

    Important
    If you enter the default domain name in the Realm text box, your internal Microsoft Windows domain name may be exposed to external users during the user name and password challenge.

    • Click OK to close the Edit Basic Authentication Settings dialog box.

    Configure Basic Authentication (IIS 7)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Don't know if this is possible, but I have some code like this: val
don't know what happened in my jcrop selection. I think I pressed some keys
I have just tried to save a simple *.rtf file with some websites and
Don't they both have to convert to machine code at some point to execute
Don't know if I'm missing something here. I'd like to run multiple global variables
I don't want my user to even try downloading something unless they have Wi-Fi
Don't have much to say, just can get into the event handler. XAML: <Grid>
Don't know why this is happening, but after submitting a form via JS (using
Don't know if this has been answered before. Have custom routes to users. If
Don't know whether I'm having a "thick day" - but I just wondered what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.