11-08-2016 07:26 AM
Hi,
is it possible to set user and password for a WMS Service with out GeoSpatial SDI?
I try to set for the WMS App in IIS windows-authentication but it does not work. For AdminConsole it is possible to define windows-authentication.
thank you
Florian
Solved! Go to Solution.
11-08-2016 09:53 AM
For WebGIS such a configuration is out of scope. Also, you won't get shiny features like layer restrictions or spatial restrictions without SDI
However, it should be entirely possible to configure a WCF service (which WebMap's WMS is a kind of) to leverage any IIS mechanisms that are compatible with it. On my development box I was able to configure my go-to WMS instance to use IIS Windows Authentication without actually using Geospatial SDI's AuthenticationPipe. This wasn't as simple as flipping a switch, but after several refreshes and following the error messages it wasn't exactly rocket science either.
Just remember that having both Anonymous and Windows authentication methods in IIS will not suffice to restrict access and have the server return an HTTP error.
11-14-2016 02:42 AM
do you have an example for me?
I step from error to error and I see no light at the end of the tunnel.
Thank you
11-14-2016 03:30 AM
If I remember correctly, the following worked for me:
1. Disable anonymous authentication for the virtual folder of your WMS
2. Enable Windows authentication for the virtual folder of your WMS
3. Edit the web.config so that all bindings under system.serviceModel tag use TransportCredentialOnly security mode and transport clientCredentialType are set to Windows.
11-14-2016 11:28 PM
Thank you!
It works!