Click here to Skip to main content
16,020,347 members
Articles / Operating Systems / Windows
Tip/Trick

Supress Windows Authentication Popup When Accessing Local Machine Info

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
2 Feb 2018CPOL1 min read 6.1K   1   1
How to set a domain as trusted and thus avoid the annoying Window Authentication popup when accessing local machine information

Introduction

As a mechanism for web security, a windows popup requesting authentication is generated when one accesses certain system information, such as the local machine name.  In a controlled/captive environment, this is unnecessary and suppressing it will improve the user experience - or, as we have learned when things are changed - avert a short-term panic.

Using the Code

This is a tip - saving those interested a lot of browsing until they find a simple answer that works across all platforms. The information was gotten from http://sso.cisco.com/autho/msgs/disable_IWA.htm, where there are examples for FireFox, Chrome, and Internet Explorer. I'll describe, step-by-step, how this was done for Firefox.

In my case, I needed to enable all references to an internal network server, we'll call it 12.34.55.78. You can refine this to create more restricted trusted access. This is a step-by-step example, slightly modifying the procedure given:

  1. Open FireFox
  2. Url = about:config
  3. network.automatic-ntlm-auth.trusted-uris in search bar
  4. right-click -> Modify-> 12.34.56.78
  5. network.negotiate-auth.trusted-uris into search bar
  6. right-click -> Modify-> 12.34.56.78
  7. Close all instances of Firefox to "lock"

That does it.

Points of Interest

This is an internally accessible server on our network - no outside contact at all - so bypassing the authorization is reasonable for what amounts to already authorized users. By using the network address, I enabled all content from that address in a single stroke.

Interestingly, had I not found this, all the user needed do is press OK on the authentication window when it showed and all would be well - not that helpful for security, anyway.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Bitmask Design, LLC
United States United States
In real life, a research chemist. Bitten by the bug for instrument automation, and then numeric and kinetic modeling, I turned to the dark side (or to the light), programming all sorts of lovely things. Alas, one needs to make a living, so off I went to POS, and now, the insurance industry.

Useful stuff: reducing concepts to bare abstractions and then coding as generic a solution as possible (implicitly extensible). In a sense, applications that "don't care" about much to do their job.

Doing now for money what I used to do simply for pleasure - not much different than a cheap hooker.

At best? An Optimistic Cynic. - No better; No worse - as though you cared, and as though your caring really mattered.


Pathological Genius

I have done things . . .

"Dispensing wisdom and chaos with uncanny poise and unflinching bravado."

Comments and Discussions

 
GeneralMy vote of 5 Pin
dmjm-h6-Feb-18 9:30
dmjm-h6-Feb-18 9:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.