13.05.2010, 18:54
Just wondering your views on this topic...
My script is setup to insert an entry into my MYSQL database for every connection (logging connection activity).
OnPlayerConnect - Logs account name, ip, time, type
OnPlayerDisconnect - Logs account name, ip, time, type
Are there any security risks by doing this (ie: server could crash -- assuming if it was to be attacked)?
Should I, instead, log connections after successful logins and only the disconnects from logged in accounts?
Thanks!
My script is setup to insert an entry into my MYSQL database for every connection (logging connection activity).
OnPlayerConnect - Logs account name, ip, time, type
OnPlayerDisconnect - Logs account name, ip, time, type
Are there any security risks by doing this (ie: server could crash -- assuming if it was to be attacked)?
Should I, instead, log connections after successful logins and only the disconnects from logged in accounts?
Thanks!