We have a solution.
Make a .htaccess file with this content
RewriteEngine on
RewriteCond %{QUERY_STRING} request=GetMap [NC]
RewriteCond %{QUERY_STRING} !format=(.*)(png|jpeg) [NC]
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} wms/kml
RewriteCond %{QUERY_STRING} layers
RewriteRule .* - [F]
watch out for POST requests if you'r trying to protect sensitive data (and
shapefile format?)
-i
-Message d'origine-
De : abusquets [mailto:abusqu...@gmail.com]
Envoyé : Thursday, 16 January 2014 09:08
À : geoserver-users@lists.sourceforge.net
Objet : Re: [Geoserver-users] WMS output
On Thu, Jan 16, 2014 at 9:36 AM, Ivan Price ivan.pr...@noveltis.fr wrote:
watch out for POST requests if you'r trying to protect sensitive data (and
shapefile format?)
Right, GeoServer also responds to WMS POST requests in two forms:
* xml getmap, from the SLD extension (there is a sample in
I think this solution would only work if you access Gesoerver via an apache
http proxy.
Is this correct ?
Christian
On Thu, Jan 16, 2014 at 10:07 AM, Andrea Aime
andrea.a...@geo-solutions.itwrote:
On Thu, Jan 16, 2014 at 9:36 AM, Ivan Price ivan.pr...@noveltis.frwrote:
watch out for POST
On Thu, Jan 16, 2014 at 10:37 AM, Christian Mueller
christian.muel...@os-solutions.at wrote:
I think this solution would only work if you access Gesoerver via an
apache http proxy.
Worth mentioning maybe, we had performance issues trying to scale up apache
proxy to a large
number of
Hoping that I will find some time to add this feature into GeoServer
directly.
Cheers
Christian
On Thu, Jan 16, 2014 at 10:41 AM, Andrea Aime
andrea.a...@geo-solutions.itwrote:
On Thu, Jan 16, 2014 at 10:37 AM, Christian Mueller
christian.muel...@os-solutions.at wrote:
I think this
Sorry, I have made a mistake before.
The best way for do this is put this code on apache
ProxyPreserveHost On
ProxyRequests Off
Proxy *
Order allow,deny
Allow from all
/Proxy
RewriteEngine on
RewriteCond %{QUERY_STRING} request=GetMap [NC]
RewriteCond %{QUERY_STRING}
Sorry, I have made a mistake before.
The best way for do this is put this code on apache
ProxyPreserveHost On
ProxyRequests Off
Proxy *
Order allow,deny
Allow from all
/Proxy
RewriteEngine on
RewriteCond %{QUERY_STRING} request=GetMap [NC]
RewriteCond %{QUERY_STRING}
Is there any way to restrict WMS output formats (JPEG, GIF, PNG, PNG 8) and
disable kml export?
Thanks.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/WMS-output-format-restrictions-tp5098123.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi
Unfortunately not.
Now the good news. I have a mandate from a customer to add this feature but
I cannot commit to a point in time.
Cheers
Christian
On Wed, Jan 15, 2014 at 12:24 PM, abusquets abusqu...@gmail.com wrote:
Is there any way to restrict WMS output formats (JPEG, GIF, PNG, PNG
10 matches
Mail list logo