Welcome Guest, Not a member yet? Register   Sign In
SQL injection attack
#8

[eluser]Pert[/eluser]
[quote author="frederico" date="1370270635"]
Code:
$this->db->where('col_name','val');
$this->db->update('table_name',array);

This should all be automatically escaped.

For one of the projects I'm saving password change requests with remote IP, also log login both successful and failed tries against user ID and remote IP.

Might be overkill for most projects, but its slightly sensitive data so good to keep a track of things if something goes wrong.

[/quote]


Messages In This Thread
SQL injection attack - by El Forum - 06-02-2013, 10:04 AM
SQL injection attack - by El Forum - 06-02-2013, 10:03 PM
SQL injection attack - by El Forum - 06-03-2013, 02:31 AM
SQL injection attack - by El Forum - 06-03-2013, 02:32 AM
SQL injection attack - by El Forum - 06-03-2013, 06:18 AM
SQL injection attack - by El Forum - 06-03-2013, 06:33 AM
SQL injection attack - by El Forum - 06-03-2013, 07:43 AM
SQL injection attack - by El Forum - 06-03-2013, 07:54 AM
SQL injection attack - by El Forum - 06-04-2013, 05:33 AM
SQL injection attack - by El Forum - 06-05-2013, 08:30 PM
SQL injection attack - by El Forum - 06-08-2013, 04:46 PM
SQL injection attack - by El Forum - 08-22-2013, 06:41 AM
SQL injection attack - by El Forum - 08-22-2013, 07:45 AM
SQL injection attack - by El Forum - 08-23-2013, 03:39 AM
SQL injection attack - by El Forum - 08-23-2013, 06:51 AM
SQL injection attack - by El Forum - 08-23-2013, 06:55 AM
SQL injection attack - by El Forum - 08-23-2013, 08:17 AM
SQL injection attack - by El Forum - 08-25-2013, 03:29 AM
SQL injection attack - by El Forum - 08-27-2013, 01:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB