all groups > sql server misc > december 2003 >
You're in the

sql server misc

group:

Help Plz - Bosses Son-in-Law and SQL server



Re: Help Plz - Bosses Son-in-Law and SQL server Brian French
12/17/2003 12:43:27 PM
sql server misc: What is the accounting app?

Some apps (Great Plains for example) use application based encryption on the
user passwords. If you set the password within the app, it encrypts it
BEFORE it sends it over to SQL, so the account only works from within the
app. If the user tries to connect to SQL directly, the passwords won't
match and he won't be able to get in.

[quoted text, click to view]

Re: Help Plz - Bosses Son-in-Law and SQL server Tom Moreau
12/17/2003 2:31:39 PM
Late one night, you could try putting triggers like the following on all of
your tables:

create trigger triud_MyTable on MyTable after insert, update, delete
as
if @@rowcount = 0
return

if (app_name() <> 'TheAccountingApp' and current_user = 'TheIdiot')
rollback tran
go


Make sure you don't make him a member of db_owner.

--
Tom

---------------------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql


[quoted text, click to view]
The bosses son-in-law is hacking around and "Trying" things :(

Is there any ideas on allowing SQL access when he is inside our accounting
application....

But limiting access when he is "Trying" things from outside the acct app?



Re: Help Plz - Bosses Son-in-Law and SQL server Geoff N. Hiten
12/17/2003 2:57:17 PM
Profile everything and make sure he logs in using his own account. After
you restore the backup, you should be able to have him escorted out the
door.

--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com


[quoted text, click to view]

Help Plz - Bosses Son-in-Law and SQL server John Thomas
12/17/2003 7:18:46 PM
The bosses son-in-law is hacking around and "Trying" things :(

Is there any ideas on allowing SQL access when he is inside our accounting
application....

But limiting access when he is "Trying" things from outside the acct app?



Re: Help Plz - Bosses Son-in-Law and SQL server qazwsx
12/18/2003 10:14:17 PM
[quoted text, click to view]

1) Have you tried a frank talk with him and his father in law
explaining why this is not a good idea? The boss should be fully
aware of actions which could compromise the business.

2) Why does he have access to the native data? Views should provide
him all the data he needs while maintaining security.
Re: Help Plz - Bosses Son-in-Law and SQL server Wangkhar NO[at]SPAM yahoo.com
12/19/2003 6:53:22 AM
try the first method, just slap a trigger on the table so it drops the
table when hes messing about... less extreme stick a waitfor 10 mins
AddThis Social Bookmark Button