Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'model,': 0.05; 'app,': 0.09; 'postgresql,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'server,': 0.15; '"user': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'relied': 0.16; 'wrote:': 0.17; 'app': 0.19; 'regardless': 0.21; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'appreciated.': 0.26; 'developing': 0.28; 'header:X-Complaints- To:1': 0.28; 'chris': 0.28; 'structure': 0.32; 'comments': 0.33; 'to:addr:python-list': 0.33; 'project': 0.34; 'wrong': 0.34; 'subject:?': 0.35; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'anything': 0.36; 'subject:: ': 0.38; 'supports': 0.38; 'to:addr:python.org': 0.39; 'apply': 0.39; 'header:Received:5': 0.40; 'frank': 0.75; 'subject:over': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Frank Millman Subject: Re: PyQT app accessible over network? Date: Mon, 25 Feb 2013 08:14:46 +0200 References: <20130222164513.9377097f0cf2add2a6d16204@gmx.net> <20130224153134.4cab73a958ac7d1af476ae3d@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 197.87.50.177 User-Agent: Mozilla/5.0 (Windows NT 5.2; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361772896 news.xs4all.nl 6972 [2001:888:2000:d::a6]:53665 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39876 On 24/02/2013 16:58, Chris Angelico wrote: [...] > MySQL has a philosophical structure of "user logs in to app, > but app logs in to database as superuser regardless of user login". > Out of curiosity, is there anything wrong with that approach? The project I am developing is a business/accounting application, which supports multiple database systems - at this stage, PostgreSQL, MS SQL Server, and sqlite3. I use exactly the philosophy you describe above. If I relied on the RDBMS's internal security model, I would have to understand and apply each one separately. Any comments will be appreciated. Frank Millman