[mapserver-users] Re: Restrict WMS operations

Alan Boudreault aboudreault at mapgears.com
Tue Mar 29 08:45:07 PDT 2011


Hi aznan,

This modification has been added last week. It will be in the beta 4 release.

Thanks,
Alan

On March 29, 2011 10:51:08 am aznan wrote:
> Hi!
> I finally got around to trying out Mapserver 6 beta 3. When adding this
> line to the map file:
> 
> "wms_enable_request" "GetCapabilities GetMap"
> 
> requests other than the two mentioned return a ServiceException, which is
> great, but the other operations still show up in the GetCapabilities
> response. Is there something I'm missing?
> 
> Thanks!
> /Matti
> 
> 
> -----Original Message-----
> From: Jeff McKenna [via OSGeo.org]
> <ml-node+6192878-452004863-270550 at n2.nabble.com>
> To: aznan <g8a at email.com>
> Sent: Mon, Mar 21, 2011 5:26 pm
> Subject: Re: Restrict WMS operations
> 
> 
> On 11-03-21 1:01 PM, aznan wrote:
> 
> > Hi!
> > I'm a new Mapserver user and I'm trying to figure out how to make my
> WMS
> > server only accept GetCapabilities and GetMap requests.
> >
> > The documentation at http://mapserver.org/ogc/wms_server.html says
> that > GetLegendGraphic requires a LEGEND object in the map file. I've
> been looking
> > at the examples in the OGC workshop and I tried to remove LEGEND from
> > config.map but GetLegendGraphic still shows up in the capabilities
> response
> > and a request still returns the blue squiggly line and 'Rivers' image.
> I
> > don't even know where to begin restricting GetFeatureInfo and the
> other > operations.
> >
> > Please help!
> 
> Hello,
> 
> Regarding restricting WMS requests, take a look at the functionality
> that is upcoming in the MapServer 6.0 release:
> http://mapserver.org/development/rfc/ms-rfc-67.html  You should be able
> to try this on your platform, as MapServer 6.0-beta2 was just released.
> 
> -jeff

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com



More information about the MapServer-users mailing list