For Reference Only (no help needed)… Thanks
INTEGRATED WINDOWS AUTHORIZATION
I’m posting this for anyone who may need this in the future. I’m not an expert on any of this and I am just summarizing info I found in other messages and sites.
When anonymous access is allowed to DataPortal site all is well, when turned off 401 occurs.
The code I could not find in Rocky’s book to do integrated authorization:
Public Class DataPortal
…
Shared Sub New()…
…
Dim properties As New Hashtable
properties("name") = "HttpBinary"
properties("useDefaultCredentials") = "true"
…
End Class
This is the only extra code needed to make it work.
--> properties("useDefaultCredentials") = "true" <--
Also, watch for useDefaultCredential some of the other posts forgot the “s”.
Additionally, some sites talked about adding <identity impersonate="true" /> but I did not need too.
Other terms I searched for help: IWAM, localhost, IIS
Copyright (c) Marimer LLC