Re: [Geoserver-users] Standalone Geowebcache and Geoserver Data Security Checks

2017-11-08 Thread Steve Omondi
A SecurityFilter that talks to a remote GeoServer is certainly possible if
someone wanted to write one, although it would lose some of the benefit of
caching since it would be going to the back end for a security check each
request.

​This would be great. It could be implemented with an option to force GWC
to go to the backend Geoserver and perform security check just like the
Integrated GWC​ with the *Enable Data Security*


*[image: Inline image 1]*

So depending on whether I choose to E*nable Data Security Checks *or not
then GWC can leverage the *SecurityFilter *for the Tilesets.

Kind regards,
Steve Omondi

On Wed, Nov 8, 2017 at 5:30 AM, Kevin Smith  wrote:

> On 2017-11-07 12:45 AM, Andrea Aime wrote:
>
> On Tue, Nov 7, 2017 at 9:11 AM, Steve Omondi 
> wrote:
>
>> *How do I use GWC in front of multiple Geoservers with data security
>> checks (Rules) workin and perform Authorization for the layers being
>> accessed and the seeded tiles? How do I mage Stand alone GWC perform Data
>> Security Check like the Embedded GWC does?*
>>
>>
> To the best of my knowledge, you don't. Security integration happens only
> if you run GWC embedded in GeoServer,
> a stand-alone GWC has no notion of security at all (can be developed of
> course, but does not seem a trivial task).
>
>
> The most recent stand alone GWC (1.12) has the notion of data security
> (the new SecurityFilter extension point).  It just doesn't have anything
> more than a notion as the only implementation of SecurityFilter so far is
> in GeoServer.
>
> A SecurityFilter that talks to a remote GeoServer is certainly possible if
> someone wanted to write one, although it would lose some of the benefit of
> caching since it would be going to the back end for a security check each
> request.
>
> --
> Kevin Michael Smith 
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/comm/
> userlist-guidelines.html
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Standalone Geowebcache and Geoserver Data Security Checks

2017-11-07 Thread Kevin Smith
On 2017-11-07 12:45 AM, Andrea Aime wrote:
> On Tue, Nov 7, 2017 at 9:11 AM, Steve Omondi
> mailto:steve.omo...@ramani.co.ke>> wrote:
>
> *How do I use GWC in front of multiple Geoservers with data
> security checks (Rules) workin and perform Authorization for the
> layers being accessed and the seeded tiles? How do I mage Stand
> alone GWC perform Data Security Check like the Embedded GWC does?*
> *
> *
>
>
> To the best of my knowledge, you don't. Security integration happens
> only if you run GWC embedded in GeoServer,
> a stand-alone GWC has no notion of security at all (can be developed
> of course, but does not seem a trivial task).

The most recent stand alone GWC (1.12) has the notion of data security
(the new SecurityFilter extension point).  It just doesn't have anything
more than a notion as the only implementation of SecurityFilter so far
is in GeoServer. 

A SecurityFilter that talks to a remote GeoServer is certainly possible
if someone wanted to write one, although it would lose some of the
benefit of caching since it would be going to the back end for a
security check each request.

-- 
Kevin Michael Smith




signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Standalone Geowebcache and Geoserver Data Security Checks

2017-11-07 Thread Steve Omondi
Thanks Andrea for the concise response.

I'll have to reconsider my options.



Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Kind regards,
Steve Omondi

On Tue, Nov 7, 2017 at 11:45 AM, Andrea Aime 
wrote:

> On Tue, Nov 7, 2017 at 9:11 AM, Steve Omondi 
> wrote:
>
>> *How do I use GWC in front of multiple Geoservers with data security
>> checks (Rules) workin and perform Authorization for the layers being
>> accessed and the seeded tiles? How do I mage Stand alone GWC perform Data
>> Security Check like the Embedded GWC does?*
>>
>>
> To the best of my knowledge, you don't. Security integration happens only
> if you run GWC embedded in GeoServer,
> a stand-alone GWC has no notion of security at all (can be developed of
> course, but does not seem a trivial task).
>
> Cheers
> Andrea
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 
> 55054  Massarosa
> 
> (LU)
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Standalone Geowebcache and Geoserver Data Security Checks

2017-11-07 Thread Andrea Aime
On Tue, Nov 7, 2017 at 9:11 AM, Steve Omondi 
wrote:

> *How do I use GWC in front of multiple Geoservers with data security
> checks (Rules) workin and perform Authorization for the layers being
> accessed and the seeded tiles? How do I mage Stand alone GWC perform Data
> Security Check like the Embedded GWC does?*
>
>
To the best of my knowledge, you don't. Security integration happens only
if you run GWC embedded in GeoServer,
a stand-alone GWC has no notion of security at all (can be developed of
course, but does not seem a trivial task).

Cheers
Andrea

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Standalone Geowebcache and Geoserver Data Security Checks

2017-11-07 Thread Steve Omondi
Hey guys,

I have multiple Geoserver Instances and one Standalone Geowebcache in front
of the Geoservers (via a HTTPD proxy load balancer - balancing requests to
the geoservers).

All the Geoservers are synchronized and have *Data Rules* restricting
access for different users to the different /workspaces/layergroups/layers.

Currently GWC seems not be able to access layers with rules.
Error Message on Tiles requests:
400: All backends (1) failed. Reason: Unexpected response code from
backend: 403 for http://ros-gs4:8082/geoserver/wms?. Last request: '
http://ros-gs4:8082/geoserver/wms?'.

I have to remove all the rules from Geoserver from *Data Security
before *Standalone
GWC is able to return the tiles. On the other side, ones tiles are seeded
they are accessible without need to authorization. This is not a desirable
behavior for me.

*How do I use GWC in front of multiple Geoservers with data security checks
(Rules) workin and perform Authorization for the layers being accessed and
the seeded tiles? How do I mage Stand alone GWC perform Data Security Check
like the Embedded GWC does?*

*Available help will be appriciated.*


Kind regards,
Steve Omondi


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users