Re: How to GRANT *all* permissions to *all* users?
- From: "Anthony Thomas" <ALThomas@xxxxxxxxx>
- Date: Wed, 7 Feb 2007 08:07:45 -0600
I understand you were in a bind and probably didn't mean much by the
following comment, but it disturbs me nevertheless (because I hear it all
the time, which causes problems).
"don't worry, it's just a test environment, not the real thing"
Be careful of this. Whatever security context you code to will be the
security context you will require in production. This is not to say that
you couldn't lock it down after the fact. But, it has been my experience
that locking down a system creates more "issues" than coding to a secured
system to begin with.
The problem is that if you have "God Rights" when you are developing, there
is nothing that forces you to look for alternative solutions. Then when it
comes down to rolling out to production, you do not have "time" to find that
appropriate, secured solution.
In a secured environment, you end up beating your head during the
development process instead of the deployment period, which is where you
should be searching for solutions to begin with.
So, for your personal installation, on your desktop let's say, be a god,
that is how you learn. However, on the shared development/test system, I
would recommend that you secure it just like production. Security, by the
way, is a vector that you need to test as well during the development cycle.
Sorry, but that is my soapbox for today...ok, well, for the last minute
anyway.
Good luck.
Sincerely,
Anthony Thomas
--
<steve.chambers@xxxxxxxxx> wrote in message
news:1170773941.309642.45560@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In short, I would like to know how to do this i.e. give any user
permission to do anything (e.g. CREATE tables, ALTER tables etc.)
I'm asking because I recently converted from SQL Server 2000 to 2005
and initially the stored procedures couldn't be changed so had a quick
look on the web and found that applying the following 2 lines enabled
most things:
GRANT VIEW ANY DEFINITION TO public
GRANT VIEW SERVER STATE TO public
(http://www.microsoft.com/technet/technetmag/issues/2006/01/
ProtectMetaData/default.aspx)
But I still can't ALTER tables (this option is greyed out). I want to
give anyone working on the databases the ability to do anything (don't
worry, it's just a test environment, not the real thing).
Is there a GRANT or set of GRANT commands that I can apply to give
these permissions?
Thanks to anyone who can help/shed any light on this...
Cheers,
Steve
.
- Follow-Ups:
- Re: How to GRANT *all* permissions to *all* users?
- From: Sarah Bram
- Re: How to GRANT *all* permissions to *all* users?
- References:
- How to GRANT *all* permissions to *all* users?
- From: steve . chambers
- How to GRANT *all* permissions to *all* users?
- Prev by Date: Re: transfering logins
- Next by Date: Re: Binary_Checksum - How secure is it?
- Previous by thread: Re: How to GRANT *all* permissions to *all* users?
- Next by thread: Re: How to GRANT *all* permissions to *all* users?
- Index(es):
Relevant Pages
|
Loading