Wednesday, October 13, 2010

Re: Help with http basic authentication

Althought it is true, there are ways to get this data to Django.
Check this (after a simple google search):
http://stackoverflow.com/questions/152248/can-i-use-http-basic-authentication-with-django

zalun

http://jsfiddle.net/user/zalun/

On 10-10-13 01:38, Sam Lai wrote:
> On 12 October 2010 22:29, Morten Pedersen<mortenlerstrup@gmail.com> wrote:
>> Hi everyone
>> I would be very very gratefull for any help getting access to the basic http user and password through Django.
> As far as I know, HTTP Basic Authentication occurs at the HTTP
> connection level, i.e. it is between the web server and browser. There
> is no way for Django to access that.
>
> What usually happens is people use 'forms authentication' instead.
> Django has a built-in authentication app - see
> http://docs.djangoproject.com/en/dev/topics/auth/
>
>> A simple app that print out the password an user to the browser would really help me very very much.
>>
>> Cheers
>> Morten Pedersen
>> Denmark
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>>
>>


--
blog http://piotr.zalewa.info
jobs http://webdev.zalewa.info
twit http://twitter.com/zalun
face http://www.facebook.com/zaloon

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment