Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; '21,': 0.07; 'distributing': 0.07; 'subject:How': 0.09; 'python': 0.09; 'fetch': 0.09; 'imply': 0.09; 'sep': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; "wouldn't": 0.11; 'do,': 0.15; 'from:addr:me.com': 0.16; 'hmm.': 0.16; 'jerry': 0.16; 'subject:user': 0.16; 'wrote:': 0.17; 'thanks,': 0.18; 'systems.': 0.18; '(or': 0.18; 'trying': 0.21; 'machine.': 0.22; "user's": 0.22; 'cc:2**0': 0.23; 'third-party': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; "i'm": 0.29; 'fri,': 0.30; 'url:home': 0.33; 'received:google.com': 0.34; 'third': 0.34; 'remote': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'wanted': 0.36; 'client': 0.36; 'should': 0.36; 'possible': 0.37; 'uses': 0.37; 'rather': 0.37; 'received:209': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'application': 0.40; 'skip:" 10': 0.40; 'your': 0.60; 'matter': 0.61; 'first': 0.61; 'details': 0.63; 'direct': 0.69; 'programme': 0.69; 'sounds': 0.71; 'avoid.': 0.84; 'proposal:': 0.84; 'bob': 0.91; 'dennis': 0.91; 'good,': 0.91; 'hill': 0.96 Newsgroups: comp.lang.python Date: Sat, 22 Sep 2012 04:38:08 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=77.167.72.50; posting-account=uv_KgQoAAABcaVT0RN3jt3k5T7-9IAK0 References: <4382e132-4eb5-4733-9fed-535e704f2175@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 77.167.72.50 MIME-Version: 1.0 Subject: Re: How to apply the user's HTML environment in a Python programme? From: BobAalsma To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org 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: , Message-ID: Lines: 52 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348313892 news.xs4all.nl 6909 [2001:888:2000:d::a6]:36789 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29742 Op vrijdag 21 september 2012 22:10:04 UTC+2 schreef Dennis Lee Bieber het volgende: > On Fri, 21 Sep 2012 09:36:08 -0400, Jerry Hill > > declaimed the following in gmane.comp.python.general: > > > > > On Fri, Sep 21, 2012 at 9:31 AM, BobAalsma wrote: > > > > Thanks, Joel, yes, but as far as I'm aware these would all require the Python programme to have the user's username and password (or "credentials"), which I wanted to avoid. > > > > > > No matter what you do, your web service is going to have to > > > authenticate with the remote web site. The details of that > > > authentication are going to vary with each remote web site you want to > > > connect to. > > > > Hmmm, convoluted but presuming the "login" third party site uses > > cookies... Would it be possible to use Javascript on the client "copy" > > the HTML from the third-party and then transmit it to the application > > rather than having the application trying to do a direct fetch given > > just the URL? > > > > This should keep the authentication local to the client machine. > > > > > > -- > > Wulfraed Dennis Lee Bieber AF6VN > > wlfraed@....com HTTP://wlfraed.home.netcom.com/ Wulfraed, yes, as with David's proposal: this sounds good, but I wouldn't know the first thing about Javascript... I'm also concerned that both solutions would seem to imply distributing software (or "software") to the clients systems. Hmm. Bob