The public role has very limited rights. No additional rights should be granted to public as granting rights to public grants those rights to everyone who can access the database (and the server if your guest account is enabled).
Yes a role can belong to other roles, however you can't modify the public role (or at least you shouldn't).
I need to figure out what it 'can' do. If 3rd party apps and DBAs didn't grant additional privs to PUBLIC, my job would be a lot simpler
I know that in Oracle UserRole1 can be assigned to PUBLIC so that every user has the privileges of UserRole1 through virtue of PUBLIC. Is this the same with SQL server?
according to MS books-online: "PUBLIC - Cannot have users, groups, or roles assigned to it because they belong to the role by default."
But that seems to be looking at it from the reverse perspective. (assigning PUBLIC to UserRole1)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.