Wednesday, May 30, 2012

Re: How to generate secure passwords

30.5.2012 9:03, Emily Namugaanyi kirjoitti:
> Hi Django users,
>
> I am working on a project that as to generate secure passwords
> (passwords that cannot be hacked) every time a user register and the
> password lasts for a period of time. S,here I am wondering whether
> django has a provision for this or I need to find another way...
> Thank you for your time....
>
> Emily.
>

Sounds like your problem is not about generatic "secure passwords". But
instead you need to build secure authorization behind that.

So you have to build a system that checks is given username + password
to protected content combination already expired. If that's the case, no
access is granted to protected content.

Then password wouldn't contain any information about it's validity. Only
validity checks happens on your side of system - in your code, on your
server.

--
Jani Tiainen

- Well planned is half done and a half done has been sufficient before...

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