If using MySQL, in the table mysql you have all of the tabled you need to set restrictions tom users. You can give certain privileges to one user and others to some other user.
In other DB systems, like MSSQL Server 2000, the GUI has a help system explaining very deeply how to set up permissions.
Hope it helps
fLIPIS