Rahkonen Jukka ha scritto: > Hi, > > Perhaps needs also some considerations about whatever files and > security, because the target directory is obviously something that > can be accessed from the web?
The rest API requires admin level authorization, so the write side is not wide open. That said, the styles directory is indeed published, but not listable, so you first have to know the name of a style or a file to gather it. Which is normally not too difficult, as it's often (but not always) the same name as the style, e.g.: http://demo.opengeo.org/geoserver/styles/capitals.sld Afaik that directory is exposed to allow Google Earth to get the various pngs used in kml styling (think point symbolizers). But I may be wrong, that directory was exposed like that already before I started working in GeoServer four years ago Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
