Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!newsfeed.freenet.ag!ecngs!feeder2.ecngs.de!81.171.88.16.MISMATCH!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!bcyclone05.am1.xlned.com!bcyclone05.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2.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.048 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'newbie': 0.05; 'happen?': 0.09; 'http': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'https': 0.16; 'wrote:': 0.18; 'subject:request': 0.19; 'machine': 0.22; 'code,': 0.22; '(in': 0.22; 'cc:addr:python.org': 0.22; 'proxy': 0.24; 'cc:2**0': 0.24; 'pass': 0.26; 'header:In-Reply- To:1': 0.27; "doesn't": 0.30; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; 'subject:the': 0.34; 'could': 0.34; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'being': 0.38; 'server': 0.38; 'pm,': 0.38; 'expect': 0.39; 'support,': 0.39; 'either': 0.39; 'show': 0.63; 'protect': 0.79; 'sniffing': 0.84; 'absolutely': 0.87; 'encrypted': 0.91; 'to:none': 0.92; '8bit%:67': 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:content-transfer-encoding; bh=i+omhrW/ml93O5lWnjTqS+J8vqmkxMIf500qfSOkQxk=; b=syJjmB4Tunj8XNkaig8FJ/nf0QC9v4W3zlTNf+G4mxndc9JRmsFSsiDeY7jKGeyNno +5QCBZ6i169EV0dcNbY0e/7MZl+DaL+uQRAIoKf2oFeRhPqs7PM5w9zhcAT+dwmcrYoc eKjtqU61zTCvFz1WhXa7oYqSbpPtMgUL6qhGjWPaB59S/8f5pzhk+NXhR14OMFg6TESi I9k9IzUbsQRGB1glD85J3McQfeiIEmi4/XJs4eon/BaRDPCjHZ8wu8rZ4gaMqSsBblfY klopxdSRQkDvHscNh/EOrYWbNRbIu4RInkikjFfwcFY0kpqkUX4m/7Bg90dESxwbHKdh tQyA== MIME-Version: 1.0 X-Received: by 10.152.87.67 with SMTP id v3mr19670008laz.97.1418109340546; Mon, 08 Dec 2014 23:15:40 -0800 (PST) In-Reply-To: <149e8b60-aa01-4f56-9da9-13130caa81ca@googlegroups.com> References: <0b8ebdd8-9df5-4a99-b226-590cd3d3cef6@googlegroups.com> <149e8b60-aa01-4f56-9da9-13130caa81ca@googlegroups.com> Date: Tue, 9 Dec 2014 18:15:40 +1100 Subject: Re: encrypt the http request url on the local machine From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1418109770 news.xs4all.nl 2928 [2001:888:2000:d::a6]:56884 X-Complaints-To: abuse@xs4all.nl X-Received-Body-CRC: 1315148976 X-Received-Bytes: 4271 Xref: csiph.com comp.lang.python:82186 On Tue, Dec 9, 2014 at 6:08 PM, iMath wrote: > =E5=9C=A8 2014=E5=B9=B412=E6=9C=889=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=8CUT= C+8=E4=B8=8B=E5=8D=882=E6=97=B658=E5=88=8636=E7=A7=92=EF=BC=8CiMath=E5=86= =99=E9=81=93=EF=BC=9A >> my software on the local machine needs to send http request to a specifi= c web server , is there any way to protect the http request url from being = found by Packet analyzer software like Wireshark and fiddler. The sever is = not mine, so I can do nothing in the server . >> >> It would be better to show some code, I am an absolutely newbie in encry= ption . > > P.S the server doesn't support https protocol If the server doesn't support encrypted HTTP requests, you either need some other form of encryption that the server _does_ support, or a proxy that can decrypt the request and pass it on (in which case packet sniffing at the proxy could reveal what's happening). Why are you so worried about packet sniffing? Is it something you expect to happen? ChrisA