Permission to execute jobs but nothing else
From: Mike M. (mike@kressa.com)
Date: 04/04/03
- Next message: Pedro Nuņez: "Protection Database Demo"
- Previous message: Dirk Biernat: "Re: Is there a way to sign records on the SQL-Server with a digital signature???"
- Next in thread: Jasper Smith: "Re: Permission to execute jobs but nothing else"
- Reply: Jasper Smith: "Re: Permission to execute jobs but nothing else"
- Reply: Michael Mazza: "Re: Permission to execute jobs but nothing else"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Mike M." <mike@kressa.com> Date: Fri, 4 Apr 2003 06:49:21 -0800
I have built some maintenance vb-scripts that perform
repetitive tasks such as integrity checks and backups.
This script is executed by a scheduled SQL job which
executes a CSCRIPT command pointing to this script on the
hard drive.
Performing these tasks requires you to obviously open a
connection to SQL Server. Since this script is a plain
ascii file there is no security from viewing it.
Embedding the connection string with UID and PWD is safe
to me as long as I can setup a weak Login ID that can do
nothing more then execute jobs.
PROBLEM: I can't figure out how to setup a Login with
this limited authority. The best I found was to give
the "JobRunner" login a server role of "dbcreator". It
works fairly well to prevent users from viewing table
data (our main concern) but they can still obviously
perform serious damage with permission to ALTER and DROP
tables.
I've tried setting up the job owner to be "JobRunner" and
giving the Login no rights other then "Public". However,
it didn't work.
Any suggestions? Thanks in advance.
- Next message: Pedro Nuņez: "Protection Database Demo"
- Previous message: Dirk Biernat: "Re: Is there a way to sign records on the SQL-Server with a digital signature???"
- Next in thread: Jasper Smith: "Re: Permission to execute jobs but nothing else"
- Reply: Jasper Smith: "Re: Permission to execute jobs but nothing else"
- Reply: Michael Mazza: "Re: Permission to execute jobs but nothing else"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|