comboy
Instructor
- May 23, 2003
- 226
Hi all,
I'm new to MySQL and advanced SQL queries so hopefully my question will be clear.
I'm designing a DB that will hold details of client training dates etc. I will be building a front end in PHP but was wondering how to easily grant privileges to users based on user categories.
Can I ammend the generic User table that arrives with MySQL and create a column called User Category and link that to a User Category table and grant privileges to tables etc on my DB to users based on their user category.
Or would it be more secure to create my own table e.g. tblMyUsers and link that to a user category table and grant privileges to the users based on their user category (This would leave the ROOT ac on the generic table and not accesabile to users accessing the DB via the site I think).
Hope this makes sense
Graham.
I'm new to MySQL and advanced SQL queries so hopefully my question will be clear.
I'm designing a DB that will hold details of client training dates etc. I will be building a front end in PHP but was wondering how to easily grant privileges to users based on user categories.
Can I ammend the generic User table that arrives with MySQL and create a column called User Category and link that to a User Category table and grant privileges to tables etc on my DB to users based on their user category.
Or would it be more secure to create my own table e.g. tblMyUsers and link that to a user category table and grant privileges to the users based on their user category (This would leave the ROOT ac on the generic table and not accesabile to users accessing the DB via the site I think).
Hope this makes sense
Graham.