It's no more risky to publish the names of your layers and styles than it is
to publish the data itself (as exposed via WFS, etc.)  If you want to
restrict access to your data, GeoServer provides a simple user/role based
security system that you can use.  It is up to the administrator whether the
security restrictions are also used to filter the capabilities document, or
if the capabilities document itself is password-protected.

If you simply want to present different capabilities documents in different
scenarios, you can use GeoServer's namespace= option:
...geoserver/wms?request=GetCapabilities&version=1.0.0*&namespace=soils*

This will only show layers in the given namespace (namespaces and workspaces
are equivalent in current versions of GeoServer).

Finally, GeoServer 2.1.x is expected to include support for virtual
services, which will add the ability to essentially have multiple
independent GeoServer services running out of the same data directory.
http://geoserver.org:8080/display/GEOS/GSIP+44+-+Virtual+services+with+workspacesdiscusses
this feature in some depth.

Hope this helps.

--
David Winslow
OpenGeo - http://opengeo.org/

On Wed, Oct 20, 2010 at 2:47 AM, Robert Buckley <[email protected]>wrote:

> Hi,
>
> I work for a regional authority and am responsible for geodata over the
> internet.
> Is it normal practice to display the getcapabilties path for the server
> over the
> internet? Is there any security risks when doing so? If I have 20 layers,
> is it
> common practice to filter the getcapabilities document or would the 20
> layers
> all have the same address for the document?
>
> If geoserver has 100 layers, and the particular geodata portal concerns
> only 10
> of them(e.g soils data) is there a way to filter the getcapabilties resport
> so
> that only the soils data layers will be shown in the report?
>
>
> Thanks,
>
> Robert Buckley
>
>
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to