Code2care : TechZone Apps & Tutorials

Bypass domain name for IIS site

Does your Organization have a single Domain and still requires users to pass-in the Domain name in the credentials to login ? Well, there is a way to bypass it.
Ever came across a requirement where your Organization has a single Domain and still the users are required to pass-in the Domain name in the credentials to login (Domain\userid)?

There is a way to bypass this through IIS (but only if you have a single domain)

We will enable Basic Authentication on our site which is a Challenge-Based authentication mode and will prompt the user to pass their credentials in order to login

1) Navigate to your site from IIS

2) Click on 'Authentication' under the IIS heading
share_point_image
3) Right click Basic Authentication --> Enable (Important - This will send the credentials in plain text, so it is recommended to use SSL certificate if using this kind of authentication and have https site)

You can also have different combinations of authentication (say Windows + Forms) 4) Right click Basic Authentication --> Edit --> Enter the Default domain - This domain will be passed by default and user can pass just the userid

share_point_image_2
Now if you hit the URL .. you should be able to get in by just passing the User Id and without the domain name.


Top

















Popular tags
android
x 175
eclipse
x 29
notepadplusplus
x 20
macosx
x 14
sharepoint
x 14
html
x 14
mac
x 13
androidstudio
x 11




1000+ C Programs     PHP Tutorial     JSON Tutorial     Swift Tutorial     India Pinocdes     About Us     Privacy Policy


Code2care © 2012-17