someguy321 Posted November 1, 2010 Share Posted November 1, 2010 When users register for the site, it posts the form to an https version of the site. If there's any errors, it'll stay on the https and I show the form with the fields prefilled in with their inputs and the errors shown. My question is: is it safe to also refill the password field? Anyone here know the answer for sure? Link to comment https://forums.phpfreaks.com/topic/217484-if-users-regjoining-fails-can-i-refill-password-field-or-is-this-bad/ Share on other sites More sharing options...
Colton.Wagner Posted November 1, 2010 Share Posted November 1, 2010 Assuming you are not using https it would be a bad thing because all of that information would be passed a crossed the internet. I always refill the email and username but I always reset the password for the user's security. Thanks, Colton Wagner Link to comment https://forums.phpfreaks.com/topic/217484-if-users-regjoining-fails-can-i-refill-password-field-or-is-this-bad/#findComment-1129136 Share on other sites More sharing options...
someguy321 Posted November 1, 2010 Author Share Posted November 1, 2010 Assuming you are not using https it would be a bad thing because all of that information would be passed a crossed the internet. I always refill the email and username but I always reset the password for the user's security. Thanks, Colton Wagner Right, but as I stated, I am using https. So are you saying it's ok then? Link to comment https://forums.phpfreaks.com/topic/217484-if-users-regjoining-fails-can-i-refill-password-field-or-is-this-bad/#findComment-1129149 Share on other sites More sharing options...
Colton.Wagner Posted November 1, 2010 Share Posted November 1, 2010 Yes it would be okay as all data is encrypted. Sorry I didn't read anything but the header. Link to comment https://forums.phpfreaks.com/topic/217484-if-users-regjoining-fails-can-i-refill-password-field-or-is-this-bad/#findComment-1129150 Share on other sites More sharing options...
rwwd Posted November 1, 2010 Share Posted November 1, 2010 Bad with a capital B surely, never retain a user submitted password, this contradicts the 'Secure' aspect of a secure login, that's as bad as 'remembering' a captcha code. This is meant to be security, meaning that bots can't fool a script... Rw Link to comment https://forums.phpfreaks.com/topic/217484-if-users-regjoining-fails-can-i-refill-password-field-or-is-this-bad/#findComment-1129165 Share on other sites More sharing options...
someguy321 Posted November 2, 2010 Author Share Posted November 2, 2010 Bad with a capital B surely, never retain a user submitted password, this contradicts the 'Secure' aspect of a secure login, that's as bad as 'remembering' a captcha code. This is meant to be security, meaning that bots can't fool a script... Rw Well if it's bots, there is a limit on 5 attempts within a 15 minute period so I'd assume that would stop bots from constantly reattempting. But are you sure that even if it redirects to https (was started at http) that there's still a risk? Link to comment https://forums.phpfreaks.com/topic/217484-if-users-regjoining-fails-can-i-refill-password-field-or-is-this-bad/#findComment-1129431 Share on other sites More sharing options...
rwwd Posted November 2, 2010 Share Posted November 2, 2010 The idea is security, and a password is something that has to be user submitted, not remembered from a previous post. The method you have works fine, and the logic is sound, remember the username by all means, but not the password - exceedingly bad practise really, though it can be done, but definitely NOT recommended. Rw Link to comment https://forums.phpfreaks.com/topic/217484-if-users-regjoining-fails-can-i-refill-password-field-or-is-this-bad/#findComment-1129433 Share on other sites More sharing options...
Pikachu2000 Posted November 2, 2010 Share Posted November 2, 2010 I agree with the above. ^ ^ ^ Bad idea. Link to comment https://forums.phpfreaks.com/topic/217484-if-users-regjoining-fails-can-i-refill-password-field-or-is-this-bad/#findComment-1129469 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.