Saturday, December 29, 2012

Re: Cake 2.0 documentation Vs Cake 1.3 documentation



On Friday, 28 December 2012 06:34:27 UTC+1, Techinfocomp wrote:
Hello,

I Feel that Cake 1.3 documentation is much understandable and easier then Cake 2.0 documentation, I don't know why CakePHP Did that ?

Eg:

AuthComponent in 2.0
---------------------------------
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html

And

AuthComponent in 1.3
--------------------------------
http://book.cakephp.org/1.3/en/The-Manual/Core-Components/Authentication.html

In 1.3 it's clearly mention that how can i convert my normal password string into MD5 but in 2.0 it's not clear to me because there are many changes in AuthComponent.

One more example:

in 1.3 AuthComponent Variables are clearly described but in 2.0 there is no description regarding AuthComponent Variables

Any one here can help me to understand this ?

in 1.3 the auth component was much more complex than it is in 2.0 - I'm not sure which variables in 2.x you're wanting a description of but their doc blocks probably explain their purpose if there is nothing about them in the book.


What i am trying to do is i need to convert my password in to Clean MD5 only i don't want any extra string need to be added other then my password only like i don't want salt string etc.

md5 is a very weak algorithm - it's a very poor choice for password hashing. Worse,  unsalted md5s can be reversed even with google - e.g. http://www.google.co.uk/search?q=5f4dcc3b5aa765d61d8327deb882cf99

Are you _sure_ you want to do that? It's a very³ bad idea - it's barely (and I really do mean only just) better than storing passwords in plaintext.

AD


--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: