On Saturday, June 18, 2016 at 1:35:40 PM UTC-4, Dominic Mayers wrote:
>
> Had I been happy with "you just have to ensure that the update mechanism 
> doesn't allow that file to be overwritten or deleted.", then I would not 
> have asked the question.
>

Hi Dominic,

You seem to be new here. For future reference, note that we generally try 
to be more respectful with our responses, particularly as everyone who 
contributes here does so voluntarily.

Anyway, as I noted, it was difficult to know what you would have "been 
happy with," as you did not articulate the nature of the update mechanism. 
For example, if someone sends you a zipped application folder, you could 
simply unzip it over a fixed "wrapper" application (setting the unzip 
options to prevent overwriting). Furthermore, I only offered that option as 
a possibly simpler alternative depending on your use case, already having 
explained the more robust WSGI middleware option.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to