Re: 3 Simple Security SQL Statements
- From: "Kalen Delaney" <replies@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 23 Jun 2007 11:14:39 -0700
Hi Alex
Actually, Erland did not tell you to read the manual. He did express
concern that you had not told us the version of SQL Server you expected
answers for, and you still haven't told us. Erland was also obliquely
expressing his assumption that these questions came from a class assignment,
not from a real business need.
Using these forums for help with homework, without telling us that it is a
homework exercise and that there is no real world environment to help
provide background, IS a very inappropriate use of this newsgroup.
--
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
http://sqlblog.com
"Alex Maghen" <AlexMaghen@xxxxxxxxxxxxxxxx> wrote in message
news:EBCC71D4-3FB8-4D93-8CB0-C9BD28B1109C@xxxxxxxxxxxxxxxx
Erland -
Your response is an inapropriate use of this newsgroup. The answers to
*most* of the questions posted in these groups can be found in the
documentation. If I am posting the question here it is because I have
tried
to work through the documentation and I am still not succeeding.
If you do not wish to help others in these groups, no problem. Just please
do not respond with "Read the Manual."
Alex
"Erland Sommarskog" wrote:
Alex Maghen (AlexMaghen@xxxxxxxxxxxxxxxx) writes:
Hi. Can you please help me with three simple Transact SQL Statements
that do set up configurations? I'm having trouble with the specifics:
1. CREATE A USER "WebUser" in current database which uses a Windows
Login,
"SERVER\IUSR_XYZ"
2. Give the above user "WebUser" ROLE membership in a database Role
names
"WebUsersRole"
3. GRANT Execute permissions to the ROLE "WebUsersRole" for ALL Stored
Procedures in the database which start with the name "HM_"
I've been banging my head over this syntax for many hours and it's
making me NUTS! :)
And your professor was so mean that he did not give you hints where in
the manual you should look?
He did not even tell you which version of SQL Server you should use?
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- Follow-Ups:
- Re: 3 Simple Security SQL Statements
- From: Alex Maghen
- Re: 3 Simple Security SQL Statements
- References:
- Re: 3 Simple Security SQL Statements
- From: Erland Sommarskog
- Re: 3 Simple Security SQL Statements
- Prev by Date: Re: 3 Simple Security SQL Statements
- Next by Date: Re: 3 Simple Security SQL Statements
- Previous by thread: Re: 3 Simple Security SQL Statements
- Next by thread: Re: 3 Simple Security SQL Statements
- Index(es):
Relevant Pages
|