destination.write(chunk)
process(x)
return HttpResponse("File(s) uploaded!")
but how to define that to multi upload images in specific unique folder for any
user. first I use login_required and in destination I use user_directory_path.
But how to define the co
On 07/22/2015 04:44 PM, Chris Angelico wrote:
On Thu, Jul 23, 2015 at 9:35 AM, Gary Roach wrote:
At this point, I'm confused about a few things. Does the postgresql server
and my archivedb reside globally or are they inside my archivedb virtual
environment. I think globally.
Your virtual envir
On 07/16/2015 04:53 PM, Chris Angelico wrote:
On Fri, Jul 17, 2015 at 9:34 AM, Gary Roach wrote:
On 07/15/2015 11:25 AM, Chris Angelico wrote:
You should then be able to create a regular user, and grant
appropriate permissions:
postgres=# create user archives password
'traded-links-linguisti
On Thu, Jul 23, 2015 at 9:35 AM, Gary Roach wrote:
> At this point, I'm confused about a few things. Does the postgresql server
> and my archivedb reside globally or are they inside my archivedb virtual
> environment. I think globally.
Your virtual environment is a Python construct only. That's w
On 07/16/2015 04:53 PM, Chris Angelico wrote:
On Fri, Jul 17, 2015 at 9:34 AM, Gary Roach wrote:
On 07/15/2015 11:25 AM, Chris Angelico wrote:
You should then be able to create a regular user, and grant
appropriate permissions:
postgres=# create user archives password
'traded-links-linguisti
On Fri, Jul 17, 2015 at 9:34 AM, Gary Roach wrote:
> On 07/15/2015 11:25 AM, Chris Angelico wrote:
>
>> You should then be able to create a regular user, and grant
>> appropriate permissions:
>>
>> postgres=# create user archives password
>> 'traded-links-linguistics-informal';
>> CREATE ROLE
>> p
On 07/15/2015 11:25 AM, Chris Angelico wrote:
On Thu, Jul 16, 2015 at 3:13 AM, Gary Roach wrote:
Every time I try to do a python manage.py migrate I get:
django.db.utils.OperationalError: FATAL: password
authentication failed for user "postgres"
FATAL: password authentication faile
On Thu, Jul 16, 2015 at 3:13 AM, Gary Roach wrote:
> Every time I try to do a python manage.py migrate I get:
> django.db.utils.OperationalError: FATAL: password
> authentication failed for user "postgres"
> FATAL: password authentication failed for user "postgr
Every time I try to do a python manage.py migrate I get:
django.db.utils.OperationalError: FATAL: password authentication
failed for user "postgres"
FATAL: password authentication failed for user "postgres"
System Debian linux jessie
python 2.79
Django 1.8
Postgresql
Hi,
I want to write authentication by txjson,
Please help me in this way.
--
https://mail.python.org/mailman/listinfo/python-list
On Jun 6, 2014 6:30 PM, "Roy Smith" wrote:
> We would have to keep state on the server side about every extant valid
> token (but then again, we need to do that now, for each session).
If you didn't want to have to manage such state server side, you could opt
to use JWTs (http://datatracker.ietf.
On Sat, Jun 7, 2014 at 4:23 PM, dieter wrote:
> Dan Stromberg writes:
>
>> I have some code for a web server. Right now, it uses
>> BaseHTTPRequestHandler with Basic Auth, but we want to be able to log
>> out, and there doesn't appear to be a general way to log out of
>> something using Basic Au
Dan Stromberg writes:
> I have some code for a web server. Right now, it uses
> BaseHTTPRequestHandler with Basic Auth, but we want to be able to log
> out, and there doesn't appear to be a general way to log out of
> something using Basic Auth, short of turning to unportable JavaScript.
You ca
nything.
>
> I could rewrite to work with Django's authentication system I suppose.
> Does this work reasonably well for REST API's? How do you pass the
> credentials? Is it a cookie?
>
> Thanks!
There's a lot of questions wrapped up in one there.
Personally, I
st to be machine-callable, so
JavaScript probably isn't a great solution for us.
Does BaseHTTPRequestHandler add a way of dealing with Basic Auth
logout by any chance? I googled about it, and didn't find anything.
I could rewrite to work with Django's authentication system I supp
On Thu, May 15, 2014 at 1:44 AM, Akira Li <4kir4...@gmail.com> wrote:
>> The obvious question is: What *does* work? Does it work when you use
>> wget, or some other application? Then go and look at what that sends
>> for its authentication headers. Tip: It
pratibha natani writes:
> Hi,
>
> I am trying to establish http connection to a gerrit host using netrc
> authentication. I have a netrc file created with following entries:
> machine host1.com login name password pass
>
> I did a debug and saw that my netrc file is being
Chris Angelico writes:
> On Wed, May 14, 2014 at 9:33 AM, pratibha natani
> wrote:
>> I am trying to establish http connection to a gerrit host using
>> netrc authentication. I have a netrc file created with following
>> entries:
>> machine host1.com login na
On Wed, May 14, 2014 at 9:33 AM, pratibha natani wrote:
> I am trying to establish http connection to a gerrit host using netrc
> authentication. I have a netrc file created with following entries:
> machine host1.com login name password pass
>
> I did a debug and saw that my netr
Hi,
I am trying to establish http connection to a gerrit host using netrc
authentication. I have a netrc file created with following entries:
machine host1.com login name password pass
I did a debug and saw that my netrc file is being read correctly. Also in the
connection object(after sending
On Tue, Dec 24, 2013 at 12:47 AM, Jeff James wrote:
> I have some simple code I would like to share with someone that can assist
> me in integrating authentication script into. I'm sure it's an easy answer
> for any of you. I am still researching, but on this particular pr
I have some simple code I would like to share with someone that can assist
me in integrating authentication script into. I'm sure it's an easy answer
for any of you. I am still researching, but on this particular project,
time is of the essence and this is the only missing piece of
On Fri, 13 Dec 2013 16:42:37 +, Denis McMahon wrote:
> On Fri, 13 Dec 2013 02:32:49 -0800, uni.mail.2014 wrote:
>
>> I have a page that request an openID authentication
>
> And your Python question is?
I thought the question was fairly obvious. How would you ac
On Fri, 13 Dec 2013 02:32:49 -0800, uni.mail.2014 wrote:
> I have a page that request an openID authentication
And your Python question is?
--
Denis McMahon, denismfmcma...@gmail.com
--
https://mail.python.org/mailman/listinfo/python-list
On 13/12/2013 10:32, uni.mail.2...@gmail.com wrote:
I have a page that request an openID authentication "google ID" before you are
able to download any file from it.
this is the website "http://oc.gtisc.gatech.edu:8080/search.cgi?search=sality";
and I tried a lot but it do
I have a page that request an openID authentication "google ID" before you are
able to download any file from it.
this is the website "http://oc.gtisc.gatech.edu:8080/search.cgi?search=sality";
and I tried a lot but it dose not seem that the ordinary login using session
Jorge Alberto Diaz Orozco wrote at 2013-5-25 14:00 -0400:
>I have been doing the same thing and I tried to use java for testing the
>credentials and they are correct. It works perfectly with java.
>I really don´t know what we´re doing wrong.
Neither do I.
But the error message definitely origina
> I have been doing the same thing and I tried to use java for testing the
> credentials and they are correct. It works perfectly with java.
> I really don´t know what we´re doing wrong.
>
>
> You are accessing a protected operation of the LDAP server
> and it (the server) rejects it due to invali
I have been doing the same thing and I tried to use java for testing the
credentials and they are correct. It works perfectly with java.
I really don´t know what we´re doing wrong.
You are accessing a protected operation of the LDAP server
and it (the server) rejects it due to invalid credential
avazqu...@grm.uci.cu writes:
> import ldap
> conn = ldap.initialize("ldap://ldap.uci.cu";)
> conn.protocol_version = ldap.VERSION3
> conn.simple_bind_s( "uid=xxx,dc=uci,dc=cu", "xxx" )
>
> Result:
>
> Traceback (most recent call last):
> File "", line 1, in
> File "/usr/lib/python2.7/dist-pac
import ldap
conn = ldap.initialize("ldap://ldap.uci.cu";)
conn.protocol_version = ldap.VERSION3
conn.simple_bind_s( "uid=xxx,dc=uci,dc=cu", "xxx" )
Result:
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line
207, in simpl
Hi ,
Thanks barry,
I solved that issue.
I reconfigured squid3 with ncsa_auth, now its working same python code.
Earlier I used digest_pw_auth.
Actually I am trying to fix an issue related to python boto API.
Please check this post
https://groups.google.com/forum/#!topic/boto-users/1qk6d7v2HpQ
The shipped python library code does not work.
See http://bugs.python.org/issue7291 for patches.
Barry
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
/etc/squid3/squid.conf
---
saju@saju-Inspiron-N5010:~$ cat squid.conf | grep ^[^#]
auth_param digest program /usr/lib/squid3/digest_pw_auth -c
/etc/squid3/passwords
auth_param digest realm saju-Inspiron-N5010
acl manager proto cache_object
acl localhost src 12
authentication using following python code..
## Python code ##
import urllib2
proxy =
urllib2.ProxyHandler({'http':'http://saju:123@saju-Inspiron-N5010:3128'})
opener = urllib2.build_opener(proxy, urllib2.HTTPHandler)
urllib2.install_opener(opener)
conn = u
n't work at all.
I did some research and found pytho-ntlm but I'm not sure how to use it.
I wrote something like this and it still giving me an authentication error:
Can someone help me???
import urllib2
from HTTPNtlmAuthHandler import HTTPNtlmAuthHandler
url = 'http://url.i.want.to.
Anurag wrote:
> My application is a web based application for both windows and Linux.
> The web part is developed using Django. So if Python does not support
> it then any support for local sytem account authentication in Django?
>
> I am looking for a common library for both Li
On 23/06/2011 16:07, Anurag wrote:
My application is a web based application for both windows and Linux.
The web part is developed using Django. So if Python does not support
it then any support for local sytem account authentication in Django?
I am looking for a common library for both Linux
My application is a web based application for both windows and Linux.
The web part is developed using Django. So if Python does not support
it then any support for local sytem account authentication in Django?
I am looking for a common library for both Linux and Windows. Any help
will be Gr8
On 23/06/2011 06:02, Anurag wrote:
On Jun 22, 7:01 pm, Adam Tauno Williams
wrote:
On Wed, 2011-06-22 at 06:34 -0700, Anurag wrote:
Hi All,
I am working on application which needs to do a authentication against
LDAP, if LDAP not installed then local system account (administrator
user in
On Jun 22, 7:01 pm, Adam Tauno Williams
wrote:
> On Wed, 2011-06-22 at 06:34 -0700, Anurag wrote:
> > Hi All,
>
> > I am working on application which needs to do a authentication against
> > LDAP, if LDAP not installed then local system account (administrator
> > us
On Wed, 2011-06-22 at 06:34 -0700, Anurag wrote:
> Hi All,
>
> I am working on application which needs to do a authentication against
> LDAP, if LDAP not installed then local system account (administrator
> user in windows and root user in Linux). This should work on both
>
On 22/06/2011 14:34, Anurag wrote:
Hi All,
I am working on application which needs to do a authentication against
LDAP, if LDAP not installed then local system account (administrator
user in windows and root user in Linux). This should work on both
Windows and Linux.
Which library I should use
Hi All,
I am working on application which needs to do a authentication against
LDAP, if LDAP not installed then local system account (administrator
user in windows and root user in Linux). This should work on both
Windows and Linux.
Which library I should use for that.
Regards,
Anurag
--
http
behind a proxy. So far
>> > > this is what I've used without any successful result receiving the
>> > > error: "urllib.error.HTTPError: HTTP Error 407: Proxy Authentication
>> > > Required ( The ISA Server requires auth
>>
is what I've used without any successful result receiving the
> > > error: "urllib.error.HTTPError: HTTP Error 407: Proxy Authentication
> > > Required ( The ISA Server requires auth
> > > orization to fulfill the request. Access to the Web Proxy filter is
> >
r: "urllib.error.HTTPError: HTTP Error 407: Proxy Authentication
> > Required ( The ISA Server requires auth
> > orization to fulfill the request. Access to the Web Proxy filter is
> > denied. )":
>
> > hc = urllib.request.HTTPCookieProcessor()
> > hp = urll
r: "urllib.error.HTTPError: HTTP Error 407: Proxy Authentication
> > Required ( The ISA Server requires auth
> > orization to fulfill the request. Access to the Web Proxy filter is
> > denied. )":
>
> > hc = urllib.request.HTTPCookieProcessor()
> > hp = urll
On Mon, Mar 21, 2011 at 2:38 AM, gervaz wrote:
> Hi all,
> I've got to download some web pages but I'm behind a proxy. So far
> this is what I've used without any successful result receiving the
> error: "urllib.error.HTTPError: HTTP Error 407: Proxy Authentica
Hi all,
I've got to download some web pages but I'm behind a proxy. So far
this is what I've used without any successful result receiving the
error: "urllib.error.HTTPError: HTTP Error 407: Proxy Authentication
Required ( The ISA Server requires auth
orization to fulfill the re
I would like to upload files to a ftp site, but can't seem to get
through our proxy server, which requires authentication. How can one
do this in Python (I use 2.7, but am more than happy to use 3.2 rc2)
Thanks in advance
Thomas Philips
--
http://mail.python.org/mailman/listinfo/python-list
but the basic handler is exactly
the same in the important respects.
What happens in a windows console is that, in fact, the code dumps
with the message 'maximum recursion depth reached.'
Whereas, in the linux console, the same script exits appropriately
with the trapped 401 error that auth
On Sep 10, 12:09 pm, naugiedoggie wrote:
> Hello,
>
> I have a script that authenticates to a web service provider to
> retrieve data. This script provides an authentication header built in
> a very basic way like this:
The answer is that there is something whacked in the Windoze
Hello,
I have a script that authenticates to a web service provider to
retrieve data. This script provides an authentication header built in
a very basic way like this:
# Creates an authentication object with the credentials for a given
URL
def createPasswordManager(headers
n mailing list
Sent: Fri, August 20, 2010 6:13:20 PM
Subject: Get authentication error while using 'smtplib'
I have this script to send an email via SMTP:
import smtplib
smtpserver = 'smtp.server.com'
AUTHREQUIRED = 1# if you need to use SMTP AUTH set to 1
smtpuser = "use
unning the script I get this error:
Traceback (most recent call last):
File "my_mail.py", line 14, in
session.login(smtpuser, smtppass)
File "/usr/lib/python2.6/smtplib.py", line 589, in login
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError:
Hi,
Anyone out there writing Jython for RSA Authentication Manager ?
I'm fairly new to Python but I see it is possible to write Jython
scripts for user administration.
I'm also very interested in writing scripts for monitoring and
basically everything else related to RSA but
En Wed, 17 Mar 2010 15:43:00 -0300, Anthra Norell
escribió:
I understand that I can access password protected sites with urllib2.
[...] a site I am dealing with, because the opening page does not
require a password. It presents an id/password entry template and I have
no clue how to respo
Hi all,
I have spent the better part of this day reading docs and googling
archives to no avail. About this: I understand that I can access
password protected sites with urllib2. However, the protocol seems to
be: I try without password and catch the error coming back. The header
will then
Hi,
I try to login, but I get this exception:
File "/home/foo/django/core/mail.py", line 137, in open
self.connection.login(self.username, self.password)
File "/home/foo/smtplib.py", line 587, in login
raise SMTPException("No suitable authentication met
Jon Clements wrote:
On 11 Nov, 07:02, Ken Seehart wrote:
I'm having some difficulty implementing a client that needs to maintain
an authenticated https: session.
I'd like to avoid the approach of receiving a 401 and resubmit with
authentication, for two reasons:
1.
On 11 Nov, 07:02, Ken Seehart wrote:
> I'm having some difficulty implementing a client that needs to maintain
> an authenticated https: session.
>
> I'd like to avoid the approach of receiving a 401 and resubmit with
> authentication, for two reasons:
>
> 1. I cont
I'm having some difficulty implementing a client that needs to maintain
an authenticated https: session.
I'd like to avoid the approach of receiving a 401 and resubmit with
authentication, for two reasons:
1. I control the server, and it was easy for me to make a url that
recei
I have been able to use the ssl module in Python 2.6 to setup a server that
requires
The client to authenticate via an x509 certificates, but I want to be able
to override the client
Authentication process or catch the exception so that I can do redirects
etc. if the client authentication
Fails
Hi all,
I have the following code
import smtplib
from email.mime.text import MIMEText
smtpserver = 'smtp.gmail.com'
AUTHREQUIRED = 1 # if you need to use SMTP AUTH set to 1
smtpuser = 'ad...@myhost.com' # for SMTP AUTH, set SMTP username
here
smtppass = '123456' # for
WHIFF (WSGI HTTP Integrated Filesystem Frames) 0.4 released.
The new WHIFF 0.4 release linked from
http://whiff.sourceforge.net
includes the following enhancements:
Built in support for repoze.who based authentication
(from http://static.repoze.org/whodocs/ ) + tutorial
see: http
> Bryan (B) wrote:
>B> On Jul 10, 12:03 pm, mgi...@motorola.com (Gary Duzan) wrote:
>>> In article
>>> <3af970b1-b454-4d56-a33f-889ecfaca...@l28g2000vba.googlegroups.com>,
>>>
>>> Bryan wrote:
>>>
>>> >rsyncExec = '/usr/bin/ssh'
>>> >source = 'r...@10.0.45.67:/home/bry/jquery.lookup'
>>>
On Jul 10, 12:03 pm, mgi...@motorola.com (Gary Duzan) wrote:
> In article
> <3af970b1-b454-4d56-a33f-889ecfaca...@l28g2000vba.googlegroups.com>,
>
> Bryan wrote:
>
> >rsyncExec = '/usr/bin/ssh'
> >source = 'r...@10.0.45.67:/home/bry/jquery.lookup'
> >dest = '/home/bry/tmp'
> >rshArg = '-e "/usr/
In article <3af970b1-b454-4d56-a33f-889ecfaca...@l28g2000vba.googlegroups.com>,
Bryan wrote:
>
>rsyncExec = '/usr/bin/ssh'
>source = 'r...@10.0.45.67:/home/bry/jquery.lookup'
>dest = '/home/bry/tmp'
>rshArg = '-e "/usr/bin/ssh -i /home/bry/keys/brybackup.key"'
>args = [rsyncExec, '-a', '-v', '--d
> Bryan (B) wrote:
>B> I tried removing the internal quotes, and splitting '-e' from the
>B> other arguments. I still get the same ssh -h output however:
>B> rshArg = '/usr/bin/ssh -i /home/bry/keys/brybackup.key'
>B> args = [rsyncExec, '-a', '-v', '--dry-run', '-e', rshArg, source,
>B> des
On Jul 10, 12:43 pm, Piet van Oostrum wrote:
> > Chris Rebert (CR) wrote:
> >CR> On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote:
> >>> I am trying to automate rsync to backup server A from server B. I
> >>> have set up a private/public key between the two servers so I don't
> >>> have to enter
On Fri, Jul 10, 2009 at 12:43 PM, Piet van Oostrum wrote:
>> Chris Rebert (CR) wrote:
>
>>CR> On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote:
I am trying to automate rsync to backup server A from server B. I
have set up a private/public key between the two servers so I don't
have
> Chris Rebert (CR) wrote:
>CR> On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote:
>>> I am trying to automate rsync to backup server A from server B. I
>>> have set up a private/public key between the two servers so I don't
>>> have to enter a password when using rsync. Running rsync manually
>
On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote:
> I am trying to automate rsync to backup server A from server B. I
> have set up a private/public key between the two servers so I don't
> have to enter a password when using rsync. Running rsync manually
> with the following command works fine:
> rs
I am trying to automate rsync to backup server A from server B. I
have set up a private/public key between the two servers so I don't
have to enter a password when using rsync. Running rsync manually
with the following command works fine:
rsync -av --dry-run -e "/usr/bin/ssh -i /home/bry/keys/bry
On May 13, 5:26 pm, Steve Howell wrote:
> On May 12, 12:51 pm, wdveloper wrote:
>
>
>
> > On May 12, 8:38 pm, Steve Howell wrote:
>
> > > On May 12, 8:59 am, wdveloper wrote:
>
> > > > Hi everyone,
>
> > > > I am trying to cal
On May 12, 12:51 pm, wdveloper wrote:
> On May 12, 8:38 pm, Steve Howell wrote:
>
>
>
> > On May 12, 8:59 am, wdveloper wrote:
>
> > > Hi everyone,
>
> > > I am trying to call a webservice which requires an http
> > > authentication.
> >
On May 12, 8:38 pm, Steve Howell wrote:
> On May 12, 8:59 am, wdveloper wrote:
>
> > Hi everyone,
>
> > I am trying to call a webservice which requires an http
> > authentication.
> > To reach the ws, I must pass from a proxy http. So in the whole I need
> >
On May 12, 8:59 am, wdveloper wrote:
> Hi everyone,
>
> I am trying to call a webservice which requires an http
> authentication.
> To reach the ws, I must pass from a proxy http. So in the whole I need
> go through two authentications before getting the ws working. I am
>
Hi everyone,
I am trying to call a webservice which requires an http
authentication.
To reach the ws, I must pass from a proxy http. So in the whole I need
go through two authentications before getting the ws working. I am
using SOAPpy and I'm getting quite crazy.
I am able to arrange
On Sat, Apr 25, 2009 at 8:09 AM, larryzhang wrote:
> Dear all,
>
> I am trying to download data from a website that requires
> authentication (maybe with cookies). Any suggestions on how i can do
> this with the urllib.request module in py3? Where can I can find some
> working
Dear all,
I am trying to download data from a website that requires
authentication (maybe with cookies). Any suggestions on how i can do
this with the urllib.request module in py3? Where can I can find some
working examples? Thanks a lot.
Larry
--
http://mail.python.org/mailman/listinfo/python
On Fri, 24 Apr 2009 04:25:20 -0700 (PDT), Lakshman wrote:
> I am trying to authenticate using urllib2. The basic authentication
> works if I hard code authheaders.
...
> except IOError, e:
> print "Something wrong. This shouldnt happen"
First of all, don't
I am trying to authenticate using urllib2. The basic authentication
works if I hard code authheaders.
def is_follows(follower, following):
theurl = 'http://twitter.com/friendships/exists.json?
user_a='+follower+'&user_b='+following
username = 'uname1'
Trying to create a parser, that will first log into one of the account
in a certain page. Then its suppose to simulate a click on one of the
forms in the authenticated page (line 17 onwards). Does not want to
take effect. Does it have something to do with referrers or is there
anything wrong with w
Lakshman wrote:
> Whats is the python urllib2 equivallent of
>
> curl -u username:password status="abcd" http://example.com/update.json
>
> I did this:
>
> handle = urllib2.Request(url)
> authheader = "Basic %s" % base64.encodestring('%s:%s' % (username,
> password))
> handle.add_header("Author
Whats is the python urllib2 equivallent of
curl -u username:password status="abcd" http://example.com/update.json
I did this:
handle = urllib2.Request(url)
authheader = "Basic %s" % base64.encodestring('%s:%s' % (username,
password))
handle.add_header("Authorization", authheader)
Is there a be
Gabriel wrote:
Yep, i realize this a minute after posting, sorry.
And thank you again .)
Steve Holden wrote:
...
I'll offer a couple of pointers about what we all expect here.
Please treat this as advice, not a shout of disapproval.
(1) Do not top post (put your response above the previous i
Gabriel wrote:
> Yep, i realize this a minute after posting, sorry.
>
> And thank you again .)
>
A pleasure. Next time, you might consider posting an explanation along
with the "it's working now" message, just to give closure to the thread
for anyone who ends up reading it later after a search.
Yep, i realize this a minute after posting, sorry.
And thank you again .)
Steve Holden wrote:
Gabriel wrote:
First, thank you both
I think this isn't basic auth, because this page has form login.
I read site's html source and used wireshark to analyze communication
between my browser and webs
Gabriel wrote:
> First, thank you both
>
> I think this isn't basic auth, because this page has form login.
> I read site's html source and used wireshark to analyze communication
> between my browser and website and i really find out that a was ignoring
> one field
>
> I added it to the paramete
mming .)
That's actually pretty good code for a newcomer! There are a couple of
issues you may be running into.
First, not all sites use "application-based" authentication - they may
use HTTP authentication of some kind instead. In that case you have to
pass the username and pa
pretty good code for a newcomer! There are a couple of
issues you may be running into.
First, not all sites use "application-based" authentication - they may
use HTTP authentication of some kind instead. In that case you have to
pass the username and password as a part of the HTTP header
ly beginner both in
> python and web programming .)
>
That's actually pretty good code for a newcomer! There are a couple of
issues you may be running into.
First, not all sites use "application-based" authentication - they may
use HTTP authentication of some kind instead
En Sat, 24 Jan 2009 06:52:57 -0200, Gabriel escribió:
I'm new in Python and i would like to write script which need to login
to a website. I'm experimenting with urllib2,
especially with something like this:
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor())
urllib2.insta
Hello,
I'm new in Python and i would like to write script which need to login
to a website. I'm experimenting with urllib2,
especially with something like this:
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor())
urllib2.install_opener(opener)
params = urllib.urlencode(di
Announcing: python-ntlm
http://code.google.com/p/python-ntlm/
python-ntlm is a library that provides NTLM support, including an
authentication
handler for urllib2.
This library allows you to retrieve content from (usually corporate)
servers protected with windows authentication (NTLM) using the
This isn't really a Python question -- it's a Web development
question. The easy answer is to just password protect the directory
all the pages are stored in, and require a password. This can be set
up using Apache or IIS.
If what you really meant to ask was how to prevent anyone from
accessing ce
Dear All,
We are developing a website and would like to password protect the whole site.
If any user visit our site using ip address or using the http link, he/she will
be asked for login password and then granted the access to whole site based on
the correct password. Help will be appreciate
Hi
I am behind a proxy server that needs proxy authentication. There are
a lot of libraries that come without proxy support. The function
below, which is part of the python-twitter library does HTTP
Authentication, and I can't figure out how to do this with a
ProxyBasicAuthHandler object
1 - 100 of 248 matches
Mail list logo