Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsreader4.netcologne.de!news.netcologne.de!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'wiki': 0.02; 'socket': 0.04; 'check.': 0.07; 'http,': 0.09; 'inclined': 0.09; 'files.': 0.10; 'am,': 0.13; 'wrote:': 0.15; '*very*': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; 'simpler': 0.19; 'solution.': 0.19; 'seems': 0.20; 'figure': 0.21; 'header:In-Reply-To:1': 0.22; '(or': 0.25; "i'm": 0.27; 'work.': 0.28; 'host': 0.28; 'network,': 0.28; 'message-id:@mail.gmail.com': 0.28; 'server': 0.29; 'script': 0.29; "it'd": 0.30; 'spelling': 0.30; 'sun,': 0.30; 'shared': 0.32; 'chris': 0.32; 'it.': 0.33; 'actually': 0.33; 'to:addr:python-list': 0.34; 'post': 0.34; "can't": 0.34; 'that,': 0.35; '17,': 0.35; 'thank': 0.35; 'running': 0.35; 'requests': 0.35; 'addresses': 0.36; 'issue': 0.37; 'http': 0.37; 'but': 0.37; 'could': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'put': 0.38; 'case,': 0.38; 'run': 0.39; 'easier': 0.39; 'php': 0.39; 'to:addr:python.org': 0.39; 'might': 0.39; 'received:209': 0.40; 'your': 0.60; 'address': 0.61; 'target': 0.61; 'internet': 0.64; 'computers': 0.65; 'subject:program': 0.67; 'high': 0.68; 'drive.': 0.91; 'presumably': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=uR+38FG1B20yVrVAqq7ytwy81omKDoF5O6IBnIHeAwQ=; b=slP3xoVNIzxPMxIlJoLBnFYlZTItsMUDrC2/j8GInwO2i/O/TmZWyblotAFBYCH6Vd n0nVyel0b2H050CTpTFQ8P8YjgxItRkTRFA8iaktMBmbsDyJb0shHK4HR5hAKrjpzXYi pXMKXfysKPJCeBQamuNOlYcinBP4aih49x4fk= MIME-Version: 1.0 In-Reply-To: <70643177-77ff-4616-ae79-640e8d5e8b92@glegroupsg2000goo.googlegroups.com> References: <70643177-77ff-4616-ae79-640e8d5e8b92@glegroupsg2000goo.googlegroups.com> Date: Sun, 17 Jul 2011 04:14:35 +1000 Subject: Re: Looking for general advice on complex program From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1310840078 news.xs4all.nl 23953 [2001:888:2000:d::a6]:36630 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:9640 On Sun, Jul 17, 2011 at 3:41 AM, Josh English wrote: > Chris, > > Thank you for spelling this out. I thought about this as a solution but I= don't have the skills to create this server application, and I don't know = if the target network can handle this request. They can see files on a shar= ed drive. They can't see each other's computers on the network, and I don't= know if I can make a socket work. > > I do know they put an internal wiki in the system, and if I could figure = out how to do these requests over HTTP, I may try that, but that seems to b= e the wrong solution. If you can do HTTP, then that presumably means you can do TCP/IP. You can run this daemon on a high port to avoid having to run it as root (only an issue on Unix), and all you need to know is the IP address or host name of the computer that's running it. Or alternatively, you can actually do this via HTTP - if you already have a web server running and it'd be easier to do it that way. I'm more inclined to having it separate, but it might be simpler to write it as a PHP script (or whatever your web server uses). Just have it accept POST requests to update files; but in this case, be *very* sure that your security is in place - the last thing you want is a way for people out on the internet to edit your files. Check IP addresses and such, as well as a username/password check. Chris Angelico