I'm not new to programming, but I am fairly new to security, so any input is very helpful.
I have a database/site that allows permissions for each different user type and each user is declared a certain type. For ease of use, as well as keeping the number of MySQL queries to a minimum for server load, I want to use $_SESSION variables. But, does this pose a security risk? Can people hack session vars and make their own permissions?
What would be the best way to secure the permissions?
Thanks,
J
I have a database/site that allows permissions for each different user type and each user is declared a certain type. For ease of use, as well as keeping the number of MySQL queries to a minimum for server load, I want to use $_SESSION variables. But, does this pose a security risk? Can people hack session vars and make their own permissions?
What would be the best way to secure the permissions?
Thanks,
J