Tuesday, August 30, 2011

Re: question regarding doing authentication for a mobile client via REST call

reposting the thread link
http://groups.google.com/group/django-users/browse_thread/thread/4417516a26c2a1cc/496b54b93e4420a8?lnk=gst&q=authentication#496b54b93e4420a8

On Aug 30, 11:20 am, sanket <sanket.s.pa...@gmail.com> wrote:
> Hello All,
> hope you all are doing great.
>
> I have a question regarding how to authenticate a User via REST (using
> tastypie) call. I search the group and found something similar here
> (http://groups.google.com/group/django-users/browse_thread/thread/
> 4417516a26c2a1cc/496b54b93e4420a8?
> lnk=gst&q=authentication#496b54b93e4420a8) but it didnt help much.
>
> I know we can authenticate user using authenticate()  method of
> django.contrib.auth package.
> this method takes username and password (not the hash) as an argument.
> so my question is,
> its not safe to pass the actual password over the http. and I am not
> quite getting the idea how should I go about implementing this service
> which will allow mobile clients to login.
>
> I would appreciate your help.
> Thanks,
> sanket

--
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