On Thu, Jun 5, 2014 at 3:56 PM, Chris Snider <chris.sni...@issinc.com>
wrote:

> Hi,
>
> Our process modifies the Postgres/PostGIS tables with new columns that we
> use for security filtering.  In our case, it is acceptable for the filter
> values to be visible to users.
>
> One  method I am aware of is to modify the request params adding in the
> PropertyName=Comma,Delimited,FieldNames.  You would probably have to check
> for a propertyname list and remove your filter columns if it exists.  Or,
> create a completely new param listing the acceptable columns and adding it
> to the request.
>
> You can also create a post filter with SPRING and add it to the outbound
> filter chain removing the column when it is JSON or GML based output.
>  Possibly the CSV output.  The shapefile result type would be more
> problematic to remove the filtering columns from the feature type, but is
> still doable.
>
> Maybe one of the core developers know of a way to restrict the columns in
> the result set in a more elegant manner.
>

Do what GeoFence does, implement your own custom ResourceAccessManager

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to