Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78588

Re: Obscuring Python source from end users

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.06; 'distributing': 0.07; 'source.': 0.07; 'useless': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'unhelpful': 0.16; 'unhelpful?': 0.16; 'exception': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'code.': 0.18; 'obviously': 0.18; 'thu,': 0.19; '>>>': 0.22; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'source': 0.25; 'excel': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'chris': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'that.': 0.31; '>>>>': 0.31; 'subject:end': 0.31; 'subject:users': 0.31; 'worked': 0.33; 'cases': 0.33; 'not.': 0.33; 'subject:from': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'interact': 0.36; 'two': 0.37; 'project': 0.37; 'sometimes': 0.38; 'follows:': 0.38; 'pm,': 0.38; 'realize': 0.39; 'users': 0.40; 'how': 0.40; 'is.': 0.60; 'solve': 0.60; 'truly': 0.60; 'corporation': 0.61; 'skip:* 10': 0.61; 'between': 0.67; 'close': 0.67; 'therefore': 0.72; 'distinguish': 0.84; 'subject:source': 0.84; 'to:none': 0.92; 'audit': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=JBYJhmM1FLD/DdkgtP1cIOXlMcwI10RavAq2bSXTv4c=; b=PlPbJXBkn2ffNK5QQNjZA2t2pbLSvCJiU1z6sjNQNAMoxqrGS3Zjy4rGklUdgL4or3 qG4qi8aG/fF+NOuPEcSpMSqJ1GUW0J6EkxRYh/0Ce61mc7aEsbZXPCxAO6gTWdz7Ap4U GuDSNJTbBh0k8rnaVf97iWuu37kmvV8OgyxZXTqB+D3wR0aHxLWCcIVahCZhX8r3Y7Mw Auj99hn0YzxrZumon0j1lT9x3sNgD4KZIlezG7eWQcGxd+BcSYv6prAWg1M8N/SZTsIt IAUWkOEGwZ+Z+ye0S9+1zJC2RWr/5EXXAJnuodHTZAIfgg627oMTftk7puVe3K/Mp7sz k2rA==
MIME-Version 1.0
X-Received by 10.43.94.7 with SMTP id bw7mr3313227icc.26.1412238730278; Thu, 02 Oct 2014 01:32:10 -0700 (PDT)
In-Reply-To <m0j04o$61o$1@news.albasani.net>
References <89381545-5edc-4f85-a4b8-86eebfdf34ee@googlegroups.com> <CAPTjJmpgu-rmHLBwdeNASx9Cim5rWz-VPN+FbMGQ9tiT_9PDxQ@mail.gmail.com> <mailman.14473.1412002507.18130.python-list@python.org> <m0j04o$61o$1@news.albasani.net>
Date Thu, 2 Oct 2014 18:32:10 +1000
Subject Re: Obscuring Python source from end users
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14543.1412238739.18130.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1412238739 news.xs4all.nl 2840 [2001:888:2000:d::a6]:51175
X-Complaints-To abuse@xs4all.nl
X-Received-Body-CRC 3372132012
X-Received-Bytes 4891
Xref csiph.com comp.lang.python:78588

Show key headers only | View raw


On Thu, Oct 2, 2014 at 5:50 PM, Johannes Bauer <dfnsonfsduifb@gmx.de> wrote:
> On 29.09.2014 16:53, Sturla Molden wrote:
>> Chris Angelico <rosuav@gmail.com> wrote:
>>
>>>> I have a project that involves distributing Python code to users in an
>>>> organisation. Users do not interact directly with the Python code; they
>>>> only know this project as an Excel add-in.
>>>>
>>>> Now, internal audit takes exception in some cases if users are able to
>>>> see the source code.
>>>
>>> The solution is to fix your internal audit.
>>
>> +1
>
> You two have obviously never worked at a large corporation or you would
> both realize how tremendously naive and unhelpful this "solution" is.

Unhelpful? Perhaps, perhaps not. I would, however, distinguish between
the two parts of my original response as follows:

1) The *solution* is to fix the audit process.

2) But here's one of several *work-arounds*.

It may well be impossible to truly solve the problem, and I'm aware of
that. But sometimes you need to point out that a pyc-only distribution
is still distributing something very VERY close to the source code,
and therefore it's nigh useless to talk of not distributing Python
source.

ChrisA

Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Obscuring Python source from end users norman.ives@gmail.com - 2014-09-29 00:36 -0700
  Re: Obscuring Python source from end users Chris Angelico <rosuav@gmail.com> - 2014-09-29 17:52 +1000
    Re: Obscuring Python source from end users norman.ives@gmail.com - 2014-09-29 01:41 -0700
      Re: Obscuring Python source from end users Chris Angelico <rosuav@gmail.com> - 2014-09-29 18:55 +1000
      Re: Obscuring Python source from end users Chris Angelico <rosuav@gmail.com> - 2014-09-29 20:14 +1000
  Re: Obscuring Python source from end users alister <alister.nospam.ware@ntlworld.com> - 2014-09-29 08:42 +0000
  Re: Obscuring Python source from end users Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-09-29 21:47 +1000
    Re: Obscuring Python source from end users Sturla Molden <sturla.molden@gmail.com> - 2014-09-29 14:51 +0000
    Re: Obscuring Python source from end users Dan Stromberg <drsalists@gmail.com> - 2014-10-01 15:06 -0700
      Re: Obscuring Python source from end users Marko Rauhamaa <marko@pacujo.net> - 2014-10-02 08:17 +0300
        Re: Obscuring Python source from end users Terry Reedy <tjreedy@udel.edu> - 2014-10-02 03:19 -0400
        Re: Obscuring Python source from end users Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-02 17:22 +1000
  Re: Obscuring Python source from end users Sturla Molden <sturla.molden@gmail.com> - 2014-09-29 14:53 +0000
    Re: Obscuring Python source from end users Johannes Bauer <dfnsonfsduifb@gmx.de> - 2014-10-02 09:50 +0200
      Re: Obscuring Python source from end users Chris Angelico <rosuav@gmail.com> - 2014-10-02 18:32 +1000

csiph-web