![]() |
|
MySQL and PHP simple login system - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: PHP (https://sinister.li/Forum-PHP) +--- Thread: MySQL and PHP simple login system (/Thread-MySQL-and-PHP-simple-login-system) |
RE: MySQL and PHP simple login system - hellomen - 10-28-2013 (10-28-2013, 09:40 AM)Sebastian Kvernland Wrote:(10-28-2013, 08:17 AM)hellomen Wrote: nice tutorial but not good enough for security reasonsDo you know how to do it the correct way or the best way? I\m very interested in learning how to do it secure. Do you think you could upload a thread or a tutorial about how to do it? Thank you! MySQLi or PDO (I prefer PDO) is one to make it more secure than the mysql_connect and stuff strip_tags() for the $_GET's and $_POSTS helps better against XSS than when you don't use them and ofcourse check your codes for fails also try to use injections by yourself if you're unsure or ask someone to find leaks... oh and never trust people on the internet so every single thing you think mehhh that can be done later (security) always MAKE THE THING because you can never trust a service user from your service. RE: MySQL and PHP simple login system - Sebkvernland - 10-28-2013 (10-28-2013, 09:48 AM)hellomen Wrote: MySQLi or PDO (I prefer PDO)Thank you!
RE: MySQL and PHP simple login system - Sebkvernland - 10-28-2013 (10-28-2013, 09:48 AM)hellomen Wrote: MySQLi or PDO (I prefer PDO)Thank you!
RE: MySQL and PHP simple login system - Sebkvernland - 10-28-2013 (10-28-2013, 09:48 AM)hellomen Wrote: MySQLi or PDO (I prefer PDO)Thank you!
RE: MySQL and PHP simple login system - Sebkvernland - 10-28-2013 (10-28-2013, 09:48 AM)hellomen Wrote: MySQLi or PDO (I prefer PDO)Thank you!
RE: MySQL and PHP simple login system - noize - 10-28-2013 (10-28-2013, 08:17 AM)hellomen Wrote: nice tutorial but not good enough for security reasons Huh? Password instant storage? Session over cookie? You have clearly got no idea about what you're talking about. I clearly stated this is an old thread and that I should rewrite this from scratch to make something decent, but there are already tons of posts on such a matter. Stop spamming with senseless statements. RE: MySQL and PHP simple login system - noize - 10-28-2013 (10-28-2013, 08:17 AM)hellomen Wrote: nice tutorial but not good enough for security reasons Huh? Password instant storage? Session over cookie? You have clearly got no idea about what you're talking about. I clearly stated this is an old thread and that I should rewrite this from scratch to make something decent, but there are already tons of posts on such a matter. Stop spamming with senseless statements. RE: MySQL and PHP simple login system - noize - 10-28-2013 (10-28-2013, 08:17 AM)hellomen Wrote: nice tutorial but not good enough for security reasons Huh? Password instant storage? Session over cookie? You have clearly got no idea about what you're talking about. I clearly stated this is an old thread and that I should rewrite this from scratch to make something decent, but there are already tons of posts on such a matter. Stop spamming with senseless statements. RE: MySQL and PHP simple login system - noize - 10-28-2013 (10-28-2013, 08:17 AM)hellomen Wrote: nice tutorial but not good enough for security reasons Huh? Password instant storage? Session over cookie? You have clearly got no idea about what you're talking about. I clearly stated this is an old thread and that I should rewrite this from scratch to make something decent, but there are already tons of posts on such a matter. Stop spamming with senseless statements. RE: MySQL and PHP simple login system - unnamed - 10-28-2013 (10-28-2013, 03:54 PM)Lust Wrote: Nice script. Easy to follow, and seems pretty safe. I've yet to break the security, and I've been messing with it for a little bit since I'm bored. It's not secure anymore actually. |