Re: SQL Server 2005 AND Security (Please Help)



Shabnam Gupta wrote:
Hello Everyone,
I am new to SQL server 2005 and I am not very familiar with how the
permissions work.
In SQL 200 I had a role setup and all the permissions were granted to
the role and users were given the role.

In SQL 2005 my manager wants me to Create a schema for the role and
all the web applications should use this schema and only execute
access on the stored procedures should be given for the applications.

can someone help me with step by step instructions on how to do this?


Thanks Shabnam Gupta

- Create the schema (CREATE SCHEMA)
- Add the objects to the schema (CREATE TABLE, VIEW, PROC, etc.)
- Create the role (CREATE ROLE)
- Run the necessary grant for object access for the role (GRANT,DENY, REVOKE)
- Assign users to the role (sp_addrolemember)
- Fully-qualify all object references in your code (schema.object or database.schema.object)


You can also create tables and issue the grants right from the create schema statement if you want.



--
David Gugick
Quest Software
www.quest.com


.



Relevant Pages

  • SQL Server 2005 AND Security (Please Help)
    ... permissions work. ... In SQL 200 I had a role setup and all the permissions were granted to the ... In SQL 2005 my manager wants me to Create a schema for the role and all the ... web applications should use this schema and only execute access on the ...
    (microsoft.public.sqlserver.security)
  • SQL Adapter Disassembling Result Sets & Dynamic Parameters
    ... properties of the schema returned in my orchestration. ... Also after processing all the records returned by SQL adapter in my ... from the toolbox drag an xml disassembler ...
    (microsoft.public.biztalk.general)
  • SQL Adapter Disassembling Result Sets & Dynamic Parameters
    ... properties of the schema returned in my orchestration. ... Also after processing all the records returned by SQL adapter in my ... from the toolbox drag an xml disassembler ...
    (microsoft.public.biztalk.server)
  • Re: Select Statement with 4 tables help required please
    ... > legal SQL syntax to use the same name for both a table and a scalar. ... > data element name would be used in the entire schema. ... I have a livingroom television and a bedroom television. ...
    (microsoft.public.sqlserver.programming)
  • Split messages
    ... This is based off the northwind database. ... Create document schema: ... Select the SQL entry, make sure that we are pointing to the SQL ... For the item select a receive pipeline and name it EmpSplitPipe.btp. ...
    (microsoft.public.biztalk.general)