<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Ideally I would like to propose in a secure environment the
possibility to play with merly all the functionnalities of Python.
I am thinking of this as a dream because I know that a lot of
problem can appear.</p>
<p><br>
</p>
<p>I would also like to use git in backend via an easy to use
interface. In that case the user will not know that I use a user
Linux session.</p>
<p><br>
</p>
<p>C.<br>
</p>
<br>
<div class="moz-cite-prefix">Le 21/04/2017 à 08:28, Gergely Polonkai
a écrit :<br>
</div>
<blockquote
cite="mid:CACczBUJ7SRQykzFP8sfZG8njS1qS_U0t_msE-17QgpRnErgP_g@mail.gmail.com"
type="cite">
<p dir="ltr">Depends on what you want to do.</p>
<p dir="ltr">If you want to authenticate (ie. allow the user to
log in with their system password), there are mechanisms to let
you do this, although I think it’s a security risk.</p>
<p dir="ltr">If you want to let your user execute system commands
through Flask, and you have only one such user, you will have to
run your app as that user. If you have more than one users, you
have to run your app as root, which is generally a bad idea.</p>
<p dir="ltr">All the above is true if you have only Flask in the
game. Add task executors (like Celery) and you get a different
(but not much different) answer.</p>
<p dir="ltr">If you could tell us your base problem (ie. why do
you need this?), maybe the community can come up with some
alternatives.</p>
<p dir="ltr">Best,<br>
Gergely</p>
<br>
<div class="gmail_quote">
<div dir="ltr">On Thu, Apr 20, 2017, 23:17 Christophe BAL (via
GMAIL) <<a moz-do-not-send="true"
href="mailto:projetmbc@gmail.com">projetmbc@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello.</p>
<p><br>
</p>
<p>I hope that my message will not produce to much noise.</p>
<p><br>
</p>
<p><b>Here is my question.</b><b> <br>
</b></p>
<p>Is there an easy way with flask to connect a "web user"
as a Linux user on the server where the flask app is
hosted ?</p>
</div>
_______________________________________________<br>
Flask mailing list<br>
<a moz-do-not-send="true" href="mailto:Flask@python.org"
target="_blank">Flask@python.org</a><br>
<a moz-do-not-send="true"
href="https://mail.python.org/mailman/listinfo/flask"
rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br>
</blockquote>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Christophe BAL
Enseignant Agrégé de Mathématiques
Programmeur Python Amateur</pre>
</body>
</html>