Welcome Guest, Not a member yet? Register   Sign In
Is this code secure enough
#7

[eluser]veledrom[/eluser]
I guess the SELECT statement should be this one: Good approach????

Code:
SELECT
`username`
FROM `login`
WHERE
`username` = '$username' AND
`password` = (SELECT SHA1(CONCAT('$ci_encryption_key', '$password', `salt`)) FROM `login` WHERE `username` = '$username')


Messages In This Thread
Is this code secure enough - by El Forum - 03-05-2012, 04:48 AM
Is this code secure enough - by El Forum - 03-05-2012, 09:05 AM
Is this code secure enough - by El Forum - 03-05-2012, 09:42 AM
Is this code secure enough - by El Forum - 03-06-2012, 01:31 AM
Is this code secure enough - by El Forum - 03-06-2012, 07:31 AM
Is this code secure enough - by El Forum - 03-06-2012, 08:47 AM
Is this code secure enough - by El Forum - 03-06-2012, 09:10 AM
Is this code secure enough - by El Forum - 03-07-2012, 05:12 AM
Is this code secure enough - by El Forum - 03-07-2012, 10:17 AM
Is this code secure enough - by El Forum - 03-07-2012, 12:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB