Allow user:password in URL

The following URL syntax is no longer supported in Internet Explorer or in Windows Explorer after you install the MS04-004 Cumulative Security Update for Internet Explorer (832894):

http(s)://username:password@server/resource.ext

This change in the default behavior is also implemented by security updates and service packs that were released after the 832894 security update.

By default, this new default behavior for handling user information in HTTP or HTTPS URLs applies only to Windows Explorer and Internet Explorer. To use this new behavior in other programs that host the Web browser control, create a DWORD value named SampleApp.exe, where SampleApp.exe is the name of the executable file that runs the program. Set the DWORD value’s value data to 1 in one of the following registry keys.

For all users of the program, set the value in the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE

For the current user of the program only, set the value in the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE

To disable the new default behavior in Windows Explorer and Internet Explorer, create iexplore.exe and explorer.exe DWORD values in one of the following registry keys and set their value data to 0.

For all users of the program, set the value in the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE

For the current user of the program only, set the value in the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE

Done! Happy Coding!

Related posts:

Java Program to Implement Stack API
Java Program to Construct an Expression Tree for an Postfix Expression
Hướng dẫn Java Design Pattern – Proxy
Java Program to Perform LU Decomposition of any Matrix
Java Program to Check Whether Graph is DAG
Hướng dẫn sử dụng luồng vào ra nhị phân trong Java
Filtering a Stream of Optionals in Java
Creating a Generic Array in Java
Convert Character Array to String in Java
Java Program to Implement Vector API
Transaction Propagation and Isolation in Spring @Transactional
Mapping Nested Values with Jackson
Java – Write a Reader to File
Java Program to Generate Random Partition out of a Given Set of Numbers or Characters
Spring REST API + OAuth2 + Angular (using the Spring Security OAuth legacy stack)
Spring Security Basic Authentication
A Guide to LinkedHashMap in Java
The HttpMediaTypeNotAcceptableException in Spring MVC
Java Program to Implement Self Balancing Binary Search Tree
Java Program to Generate Randomized Sequence of Given Range of Numbers
Weak References in Java
Spring Cloud AWS – S3
Request a Delivery / Read Receipt in Javamail
Java Program to Perform Partition of an Integer in All Possible Ways
Class Loaders in Java
Java Program to Find k Numbers Closest to Median of S, Where S is a Set of n Numbers
Giới thiệu Google Guice – Binding
Java Program to Search Number Using Divide and Conquer with the Aid of Fibonacci Numbers
Initialize a HashMap in Java
OAuth2 for a Spring REST API – Handle the Refresh Token in AngularJS
Logout in an OAuth Secured Application
Java Program to Implement Attribute API