hpvic03
Technical User
- Aug 2, 2006
- 89
Hey everybody. I've got a website that I'm making, and I'm not sure how to make it completely secure, but a lot of the information is very sensitive. Here's the setup right now:
A user logs in with his username and password, then two cookies are added. A cookie with the username, and a cookie with a security code that is found in the database for that user. On every page, the security code is checked to see if it matches that username. If it doesn't, the user is kicked out.
Could this be hacked somehow? And how serious is the threat of sql injections if my tables are named something very random? I use cfqueryparam a lot, but not all the time. Are there any other security measures I can add?
Thanks for your help!
A user logs in with his username and password, then two cookies are added. A cookie with the username, and a cookie with a security code that is found in the database for that user. On every page, the security code is checked to see if it matches that username. If it doesn't, the user is kicked out.
Could this be hacked somehow? And how serious is the threat of sql injections if my tables are named something very random? I use cfqueryparam a lot, but not all the time. Are there any other security measures I can add?
Thanks for your help!