[Qgis-developer] QEP: QGIS Mapserver Python Plugins

Andrea Peri aperi2007 at gmail.com
Fri Aug 29 06:13:01 PDT 2014


Another question.
Is about the security of the environment.

I don't know too well the possibility of python in a qgis project.
But I fear that a qgis project could have some python code to start ad
startup of the qgis project.
This mean that the same code should be run in the server when it start
a qgis-server instance in fcgi ?

However the more important option is
to be able to choose to fully disable this option.

Thx,

A.


2014-08-29 13:18 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:
> OS the python usable in a fcgi environment ?
> This mean to load  and lock an instante of python forma every fcgi session
> (almost 40-60 afaik) ?
>
> A.
>
> Il 29/ago/2014 12:47 "G. Allegri" <giohappy at gmail.com> ha scritto:
>
>>
>>
>>
>> 2014-08-29 12:23 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:
>>>
>>> The startuptime increase if iT should lo ad the python environment.
>>>
>>> All the best.
>>
>>
>> The startup will happen only the first time, unless you use CGI and not
>> FCGI.
>> Anyway, I proposed it a couple of years ago, but many told it was useless
>> for various reasons.
>> I think it could be useful if the plugin could affect WMS/WFS
>> request/response.
>> As an independent service I would rather use standalone python web code
>> (actually I do it this way, loading, parsing and caching the qgs project
>> and, in case, using headless QGIS APIs).
>>
>> giovanni
>>
>>>
>>> Il 29/ago/2014 12:13 "Paolo Cavallini" <cavallini at faunalia.it> ha
>>> scritto:
>>>
>>>> Il 29/08/2014 12:09, Andrea Peri ha scritto:
>>>> > Hi Poalo,
>>>> >
>>>> > How you can say that the overhead should be minimal.
>>>>
>>>> Because in that case Python does almost nothing, just passing the
>>>> command to GDAL,
>>>> SAGA, GRASS, or whatever.
>>>> All the best.
>>>> --
>>>> Paolo Cavallini - www.faunalia.eu
>>>> Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
>>>> _______________________________________________
>>>> Qgis-developer mailing list
>>>> Qgis-developer at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>>
>>
>> --
>> Giovanni Allegri
>> http://about.me/giovanniallegri
>> Twitter: https://twitter.com/_giohappy_
>> blog: http://blog.spaziogis.it
>> GEO+ geomatica in Italia http://bit.ly/GEOplus



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


More information about the Qgis-developer mailing list