Uridium Posted January 2, 2010 Posted January 2, 2010 Yes i know this has been done where you forget your pass and have to goto a LOST PASSWORD link for an email to be sent just to say that you have to change your password to the one its given.. This annoyed the hell out of me and found sometimes it wasnt 100% workable.. So how about just getting your old password back which too me sounded better.. and saves a lot of time... I'll post up the code in a few as ive made some drastic edits. Quote
Uridium Posted January 2, 2010 Author Posted January 2, 2010 a few Screenies Confirmation ( Below password is a Dummy ) Password Error INPUT SECTION Quote
Dave Posted January 2, 2010 Posted January 2, 2010 How does this work out of interest? Cause any site with common sense will be hashing the password somehow.... Quote
Uridium Posted January 2, 2010 Author Posted January 2, 2010 There are 2 uses for the password 1 being MD5 and the other is text format the SQL field for this can be changed to suit the owners needs Quote
Uridium Posted January 3, 2010 Author Posted January 3, 2010 sorry guys this is being re-worked on until im 100% sure its safe and secure and at the moment its a pile of dung till ive repaired it... Quote
Zero-Affect Posted January 3, 2010 Posted January 3, 2010 TC used to give your password in plain text when you did the forgot password function, so maybe ask TC Quote
Guest Null Posted January 3, 2010 Posted January 3, 2010 Password thing.. How would this work out? Does it also scan your IP and compare both the email and your ip ? Because If it just goes by email, then anyone who knows anyones email could just throw it in there and get the pass. No offence to your mods, they're awesome. Peace. Quote
CrazyT Posted January 3, 2010 Posted January 3, 2010 If TC had this then, there passwords are not hashed or, they have there own hashing system to encrypt, and decrypt. Quote
Zero-Affect Posted January 3, 2010 Posted January 3, 2010 Correction CrazyT it would be their own Encryption not Hashing because as we all know hashes cannot be decrypted. :whistling: Quote
Uridium Posted January 3, 2010 Author Posted January 3, 2010 How this works at the moment is your password when registering is inputted 3 times 2 for md5 and one so its displayed as TEXT for you if you cant remember it, it also includes a secret question that has to be entered aswell as your email so the email is sent out to you. Quote
Zeggy Posted January 3, 2010 Posted January 3, 2010 The point of using hashes is so you don't need the original data. If you're storing both the hash and the plaintext, then there's no point in storing the hash. You are not gaining any security out of it. Quote
Uridium Posted January 3, 2010 Author Posted January 3, 2010 Thats correct ZEGGY one defeats the other thats why im trying to work out a more secure method with the same results.. But also trying to not make it as hard as possible to install and using a chaching method Quote
Guest Null Posted January 3, 2010 Posted January 3, 2010 Does this also compare if the users IP is the same as the accounts IP where the email is? Cuz if not couldnt a random user just insert someones email in there and grab the pass? even if its hashed? Quote
Monkey644 Posted January 5, 2010 Posted January 5, 2010 I like the sound of this, can't wait to see the finished result. Quote
fbiss Posted January 6, 2010 Posted January 6, 2010 It is not a good idea to store any passwords as plain text period. Your own encryption/decryption method is better but still not that great of an idea. If a hacker gets into your server/control panel , he can read the source code and copy the decryption method. IMO, 1 way hashing is the best way to go. For even stronger security, I would suggest using something unique yet reproducible as the Salt for the hash. As an example you could take the login name(since this doesnt change) , concatenate the password to it and concatenate a long strong of characters(same for everyone). This salt would prodcue a hash that even if two users have the same password, they would have different hashes. Quote
rulerofzu Posted January 6, 2010 Posted January 6, 2010 It is not a good idea to store any passwords as plain text period. Your own encryption/decryption method is better but still not that great of an idea. If a hacker gets into your server/control panel , he can read the source code and copy the decryption method. IMO, 1 way hashing is the best way to go. For even stronger security, I would suggest using something unique yet reproducible as the Salt for the hash. As an example you could take the login name(since this doesnt change) , concatenate the password to it and concatenate a long strong of characters(same for everyone). This salt would prodcue a hash that even if two users have the same password, they would have different hashes. This is how it is done in my game. sha512 hash with a salt produced from the username and password. To reset a password they need to know a secret word set when they registered. If they cannot remember that then they will have to contact me to get the account verified. Quote
Guest Null Posted January 7, 2010 Posted January 7, 2010 Im kinda a noob lol but umm.. Is it possible to use md5 and sha1 together? like two encrytion methods combined to make it really hard to find out? Quote
rulerofzu Posted January 7, 2010 Posted January 7, 2010 Yes you can but why bother. Best bet it to use one method and stick with it. MD5 and SHA1 have both been cracked which is why its recommended sha2 and others are used instead. Quote
Zeggy Posted January 7, 2010 Posted January 7, 2010 Im kinda a noob lol but umm.. Is it possible to use md5 and sha1 together? like two encrytion methods combined to make it really hard to find out?Yep, it is. md5 and sha1 are both functions that return strings... meaning that you can pass the result into the functions again, however many times you want, in whatever combinations you want. Quote
Uridium Posted January 7, 2010 Author Posted January 7, 2010 the othern route im looking at, at the moment is same method but the password is sent immediatley to emails so the text version desont need to be stored on the database. im also looking at other options. Quote
Guest Null Posted January 7, 2010 Posted January 7, 2010 Yea the best method is wouldbe to send to emails but theres only 2 problems.1. You'd have to create a mail function that goes faster as the regular one takes atleast 3 mins to recieve. 2.what if someone hacks their email(users fault)? Quote
rulerofzu Posted January 7, 2010 Posted January 7, 2010 Yea the best method is wouldbe to send to emails but theres only 2 problems.1. You'd have to create a mail function that goes faster as the regular one takes atleast 3 mins to recieve. 2.what if someone hacks their email(users fault)? lol. the mail function doesnt take 3mins thats an issue with your hosting. I use that function and it sends and receives instantly Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.