[mapserver-users] MapServer Layer Filter not applying to WFS
Hawk AA
hawk at aamdal.com
Mon Nov 5 06:25:39 PST 2012
Hi there, mailing list,
We have a customer sending us data with sensitive information. The most
convenient way for us is to receive the complete data set and applying a
filter in the mapfile.
The layer definition looks like this:
LAYER
NAME Traseer
GROUP TelMe
TYPE LINE
DATA "TM_Nett/TM_Traces"
FILTER('[type]' != "Bru")
#Styling and more etc....
END
This works flawlessly using PHP Mapscript and the mapserver WMS service. The
data is not accessible. The problem occurs when querying by WFS. The
Mapserver WFS service seems to omit the FILTER information and opens up for
selecting items with the type Bru, which is a serious security flaw.
Id consider this as a bug, although Im not certain. If anyone please can
confirm this, or show me how to make mapserver filter data in WFS as well,
Id be much obliged.
Best Regards,
Håkon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121105/88de4721/attachment.htm>
More information about the MapServer-users
mailing list