Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable/disable OWS layers by IP list #4588

Closed
szekerest opened this issue Feb 13, 2013 · 5 comments
Closed

Enable/disable OWS layers by IP list #4588

szekerest opened this issue Feb 13, 2013 · 5 comments
Assignees
Milestone

Comments

@szekerest
Copy link
Member

According to the requirement of Faunalia (​http://www.faunalia.it) we need to
add two new parameters to the WEB section of the mapfile, or in the METADATA section of every single layer:

  1. "ows_allowed_ip_list"
  2. "ows_denied_ip_list"

Both should point to a file with a list of IP addresses.

The aim is to let the admin to define list of users, identified through their IPs to
allow or deny access to one or more specific WMS or WFS layers.

@ghost ghost assigned szekerest Feb 13, 2013
szekerest added a commit to szekerest/mapserver that referenced this issue Feb 20, 2013
Developed for Faunalia (​http://www.faunalia.it) with funding from Regione Toscana -
Settore SISTEMA INFORMATIVO TERRITORIALE ED AMBIENTALE". For the project: "Sviluppo
strumenti software per il trattamento di dati geografici basati su QuantumGIS e
Postgis (CIG 0494241492)"

Implement MS-RFC-90
@szekerest
Copy link
Member Author

Implementation is now added to master 3deabf5

@szekerest
Copy link
Member Author

Forgot we still need to document feature

@szekerest szekerest reopened this Apr 29, 2013
@sdlime
Copy link
Member

sdlime commented Apr 29, 2013

Should create a new ticket in the documentation issue tracker though... --Steve

@szekerest
Copy link
Member Author

Good point, added: MapServer/MapServer-documentation#43

havatv pushed a commit to MapServer/MapServer-documentation that referenced this issue Mar 25, 2014
…apServer/MapServer#4588 and #43) in web, wms_server, wfs_server, sos_server and wcs_server.
@vlasvlasvlas
Copy link

this is not working on my mapserver.. why is that?

./mapserv_wfs -v

MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

on web metadata (top of mapfile) :

"ows_denied_ip_list" "*"

but i still see the requested layer....

20-04-2015 17-05-25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants