On Sep 13, 2010, at 7:19 AM, ext Johannes S S wrote:

> 
> Hello
> I have been searching for this topic a while but haven't found an answer...
> 
> Is it possible to connect to a WMS layer which is secured with basic
> authentication and in that case, how?


Sure.

Browsers handle basic authentication with no application-side support;
you simply include your authenticated layer, and the user logs in when the
first tile is requested. (After that, the browser will store the credentials,
so the user should not be prompted multiple times.)

On the other hand, if you want to support authenticated backends *without*
the user being logged in, you're essentially acting as someone who is exposing
protected information without the proper credentials; this is not something
you can trivially do.

It might be possible to do the latter with a WMS proxy on the server side.

-- Chris_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to