[Mapserver-users] Mapserver as WMS-client and authentication
Kralidis,Tom [Burlington]
Tom.Kralidis@ec.gc.ca
Fri, 21 Nov 2003 14:57:51 -0500
> -----Original Message-----
> From: Daniel Morissette [mailto:morissette@dmsolutions.ca]
> Sent: Friday, November 21, 2003 1:41 PM
> To: GeoIT
> Cc: 'mapserver-users@lists.gis.umn.edu'
> Subject: Re: [Mapserver-users] Mapserver as WMS-client and
> authentication
>
>
> GeoIT wrote:
> >
> > The problem: How I can tell Mapserver (V.3.6, Maplab 2.01) to send
> > user and password ?
> >
> > Sending it as http://user:pwd@..... Via the browser works, but if I
> > add it to CONNECTION-URL in the mapfile, a blank image is
> coming back.
> >
> > Is there any other possibility to access secured layers
> from other WMS
> > ?
> >
>
> I haven't tested this, but I would suggest that you try with
> MapServer
> 4.0. It uses libcurl instead of libwww for its HTTP requests
> and it may
> well be that curl will accept the user:password@hostname in the
> connection string. If it doesn't then please file an enhancement bug
> for this in bugzilla and we'll see what we can do to pass the
> user/password to curl.
>
Careful this info in the mapfile is not in an HTTP area, as people can see
it.
Also, can MapServer provide support for making HTTP requests to servers
which requires certs?
..Tom
> Daniel
> --
> ------------------------------------------------------------
> Daniel Morissette morissette@dmsolutions.ca
> DM Solutions Group http://www.dmsolutions.ca/
> ------------------------------------------------------------
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users@lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users
>
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users