Opened 14 years ago
Last modified 12 years ago
#149 new defect
PDFPrint - printProxy security breach
Reported by: | adube | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.8.0 |
Component: | widgets | Version: | |
Keywords: | Cc: |
Description
currently
In order to use the PDFPrint widget, you need to specify an alternative proxy file. This file is responsible of creating and processing the print requests.
issue
Unless I'm mistaken, the printProxy doesn't check if the layers specified inside the 'spec' parameter are authorized to access the according resources using the ACL. That would mean there is a security breach inside this widget.
solution
I see two solutions :
- we fix this issue in order to let the widget live
Before taking the final decision, I would like to add the following points (which all put weight towards the second solution) :
- this widget has been developed inside GeoPrisma only
- it currently supports 'wms' and 'tilecache' (only with wms access, i.e. no direct web cache access) services only. !The GeoExt ones support all of them.
- you need to manually define every templates, scales and dpis available in the template, which makes it complicate to configure when the new upcoming MapFishPrintService would do that automatically.
Comments would be welcomed.
#76 should also be considered.