Hi Arnaud,

To allow your partner user WMS restricted, the application must obtain 
authentication using OpenPlans Authentication.

cookie = base64encode(username + "\0" + hash(username, secret));Look this link: 
http://geoserver.org/display/GEOSDOC/OpenPlans+Authentication

Hope that helps.
 

Ronoel JĂșnior ( Tuor )




________________________________
De: Arnaud Vandecasteele <[email protected]>
Para: David Winslow <[email protected]>
Cc: [email protected]
Enviadas: Segunda-feira, 13 de Dezembro de 2010 13:50:22
Assunto: Re: [Geoserver-users] Secure Layer Groups

David,

Thank you for your answer.
I will try to explain a little bit more my problems. Maybe you will
find (I hope so) a solution.

For one of our project I need to secure my WMS.
So I create a rule where only the person with a login and a password
can get the tiles.
But for one of our partners  I need to let the WMS open with no
restriction. Indeed the software they have can't use restricted WMS.
So do you think that I can manage this particular case with the
geoserver security system ?
Another solution could be to specify the login and the password inside
the WMS request. Is it possible to do that with GeoServer ?

Thank for your help.

Regards

Arnaud



On Mon, Dec 13, 2010 at 4:14 PM, David Winslow <[email protected]> wrote:
> LayerGroups in geoserver are a very thin construct; for most purposes a
> layergroup is equivalent to listing out the layer names it contains in your
> wms request.  I don't think the security system provides a mechanism for
> restricting access to layergroups directly (because in a sense they don't
> really contain any information).  However, restrictions for individual
> layers will be applied when making requests for layergroups, so you can
> simulate a restricted layergroup  by making any one of the layers it
> contains restricted.
> Hope this helps.
> --
> David Winslow
> OpenGeo - http://opengeo.org/
>
> On Mon, Dec 13, 2010 at 4:53 AM, Arnaud Vandecasteele <[email protected]>
> wrote:
>>
>> Hi all,
>>
>> As I understand, GeoServer can secure a service (WMS, WFS) and/or the
>> layers.
>> But I would like to know if it's possible to secure a layer groups
>> depending on a service.
>> For example I have different layer groups :
>> 1- layerGroup-Open
>> 2- LayerGroup-Secure
>> I would like that the first one can be accessed in WMS by everybody
>> and the second one (also in WMS)  only by people I trust (people with
>> password).
>>
>> Do you know how can I do that ?
>>
>> Thanks you for your help
>>
>> Regards
>>
>> 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/
>>
>>
>> 
------------------------------------------------------------------------------
>> Oracle to DB2 Conversion Guide: Learn learn about native support for
>> PL/SQL,
>> new data types, scalar functions, improved concurrency, built-in packages,
>> OCI, SQL*Plus, data movement tools, best practices and more.
>> http://p.sf.net/sfu/oracle-sfdev2dev
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>



-- 
--------------------------------------------------------------------
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/

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users



      
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to