adding support for user authentication within Mapserver for GetCapablities and GetMap

Sean Gillies sgillies at FRII.COM
Fri Aug 31 13:51:26 EDT 2007


John Mitchell wrote:
> ------=_Part_1450_30772907.1188581293493
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> Hi,
> 
> How would I add support for user authentication within Mapserver for
> GetCapablities and GetMap?
> 
> As an example:
> &request=GetCapabilities&userid=user&passwd=password
> 
> Thanks,
> 

Use your web server's security framework

http://httpd.apache.org/docs/2.0/howto/auth.html

(or whatever if you're on IIS). Don't do security in your CGI program 
unless there's absolutely no other way.

Cheers,
Sean



More information about the mapserver-users mailing list