Hi, Perhaps you can test with OpenJUMP. For the basic authentication OpenJUMP takes the WMS url as http(s)://username:[email protected]/wms and I believe it is sending the username and password with every request.
-Jukka Rahkonen- -----Alkuperäinen viesti----- Lähettäjä: David Winslow [mailto:[email protected]] Lähetetty: ma 13.12.2010 20:25 Vastaanottaja: Arnaud Vandecasteele Kopio: [email protected] Aihe: Re: [Geoserver-users] Secure Layer Groups Some clients (in fact, all I've tried, aside from curl and gsconfig.py where I had to put in some custom code for it) will not send user/passwd information unless the server requests it (by returning a 401 Login Required response to the initial HTTP request.) By default, GeoServer will not send this, but you can configure it to use Challenge mode for authentication instead. See the mode= section of the security docs for details: http://docs.geoserver.org/stable/en/user/security/sec_layer.html#syntax Hope this helps. -- David Winslow OpenGeo - http://opengeo.org/ On Mon, Dec 13, 2010 at 12:47 PM, Arnaud Vandecasteele <[email protected] > wrote: > Just to be sure about the WMS restriction I've made a quick test : > > - 2 layers can be accessed by anybody > - 2 others are protected by a password (Data Security) > > When I try to read (in WMS) them from QGIS the only one I can see are > the none restricted layers. The others doesn't appear in the list even > if I set a correct user/password in the settings. > > So my question is : With Geoserver is it possible to provide a WMS > service where some data will be protected and some others not ? > > Also you (David) said that I could use OpenLayers. But in my OL code > where I must specified the user/pwd of the user ? I must do before an > authentication form isn't it ? > > Thanks > > Arnaud > > On Mon, Dec 13, 2010 at 5:43 PM, Arnaud Vandecasteele > <[email protected]> wrote: > >> you could > >> look into some security system which works "a layer above" the client, > such > >> as putting geoserver behind a VPN or an HTTP proxy which restricts > access > >> based on IP address, etc. > > > > I think I will do that I haven't got another option. > > > > Thank you David and Ronoel for your help. > > > > Arnaud > > > > > > -- > -------------------------------------------------------------------- > Van De Casteele Arnaud > Mines Paris Tech - CRC > Sophia-Antipolis > 0698 24 25 29 > SIG - WebMapping - SOLAP - BI - GeoCollaboration > > Web Site > http://geotribu.net/ > http://www.sismaris.org/ > ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
