Click here to Skip to main content
15,913,722 members
Home / Discussions / Database
   

Database

 
AnswerRe: Common Stored procedure for insert update and delete. Pin
Vimalsoft(Pty) Ltd29-Jul-08 23:19
professionalVimalsoft(Pty) Ltd29-Jul-08 23:19 
AnswerRe: Common Stored procedure for insert update and delete. Pin
Ashfield30-Jul-08 1:21
Ashfield30-Jul-08 1:21 
QuestionClickonce encrypting connection strings question Pin
netizenk29-Jul-08 14:22
professionalnetizenk29-Jul-08 14:22 
AnswerRe: Clickonce encrypting connection strings question Pin
SimulationofSai30-Jul-08 5:18
SimulationofSai30-Jul-08 5:18 
GeneralRe: Clickonce encrypting connection strings question Pin
netizenk30-Jul-08 12:12
professionalnetizenk30-Jul-08 12:12 
GeneralRe: Clickonce encrypting connection strings question Pin
SimulationofSai30-Jul-08 19:21
SimulationofSai30-Jul-08 19:21 
GeneralRe: Clickonce encrypting connection strings question Pin
netizenk31-Jul-08 15:59
professionalnetizenk31-Jul-08 15:59 
Questionsql revoke permission Pin
nelsonpaixao29-Jul-08 12:28
nelsonpaixao29-Jul-08 12:28 
hi,

In the same computer,i have 1 database to 1 application(no network here, offline), so i don´t have problems due to threads management and user permitions (since user can only trigger sp from the application).

Everthing fine.Cool | :cool:

My problem is that, perhaps hardly unlikely, some employee can copy the database and restore or attach to the computer back home.
How can i prevent this? Confused | :confused:

How can deny acess to master users, so they can´t attach or restore it anywhere?

I wouldn´t have this problem if a had 1 database(server) + 1000 applications(client), online network like, that way only i could acess the server computer!

My idea is to revoke everyone and you only acess read/write if you type
user and password.
(the code is not right)


USE [databasename]
EXECUTE AS USER = 'nelsonpaixao' WITH PASSWORD=N'123456'
SELECT *
FROM fn_my_permissions('dbo.uspGetBillOfMaterials', 'Object')
ORDER BY subentity_name, permission_name ;
REVERT;
GO

use [databasename]
GO
DENY EXECUTE ON [dbo].[uspGetEmployeeManagers] TO [master]
GO
use [databasename]
GO
DENY DELETE ON [HumanResources].[JobCandidate] TO [master]
GO
DENY INSERT ON [HumanResources].[JobCandidate] TO [master]
GO
DENY SELECT ON [HumanResources].[JobCandidate] TO [master]
GO
DENY DELETE ON [HumanResources].[EmployeePayHistory] TO [master]
GO
DENY INSERT ON [HumanResources].[EmployeePayHistory] TO [master]
GO
DENY SELECT ON [HumanResources].[EmployeePayHistory] TO [master]
GO

etc etc etc

is there a solution?Confused | :confused:
QuestionHow to count values in XML structure using XQuery statement Pin
David Mujica29-Jul-08 10:00
David Mujica29-Jul-08 10:00 
AnswerRe: How to count values in XML structure using XQuery statement Pin
leoinfo29-Jul-08 15:14
leoinfo29-Jul-08 15:14 
GeneralWorked ! Pin
David Mujica31-Jul-08 1:25
David Mujica31-Jul-08 1:25 
GeneralRe: Worked ! Pin
leoinfo31-Jul-08 7:42
leoinfo31-Jul-08 7:42 
AnswerDatabase and FineReport Pin
zxn622829-Jul-08 8:50
zxn622829-Jul-08 8:50 
QuestionFailed to connect to server but enumerate the server Pin
sunil goyalG29-Jul-08 4:20
sunil goyalG29-Jul-08 4:20 
AnswerRe: Failed to connect to server but enumerate the server Pin
TheFM23429-Jul-08 5:46
TheFM23429-Jul-08 5:46 
AnswerRe: Failed to connect to server but enumerate the server Pin
SimulationofSai29-Jul-08 9:08
SimulationofSai29-Jul-08 9:08 
GeneralRe: Failed to connect to server but enumerate the server Pin
sunil goyalG29-Jul-08 22:05
sunil goyalG29-Jul-08 22:05 
QuestionDataSet.xsd with relational tables Pin
Brendan Vogt29-Jul-08 3:33
Brendan Vogt29-Jul-08 3:33 
AnswerRe: DataSet.xsd with relational tables Pin
Vimalsoft(Pty) Ltd29-Jul-08 23:11
professionalVimalsoft(Pty) Ltd29-Jul-08 23:11 
AnswerRe: DataSet.xsd with relational tables Pin
Wendelius30-Jul-08 8:59
mentorWendelius30-Jul-08 8:59 
GeneralRe: DataSet.xsd with relational tables Pin
Brendan Vogt31-Jul-08 0:07
Brendan Vogt31-Jul-08 0:07 
GeneralRe: DataSet.xsd with relational tables Pin
Wendelius31-Jul-08 7:07
mentorWendelius31-Jul-08 7:07 
Questionquestion about autoincrement "identity" Pin
kimo code28-Jul-08 22:45
kimo code28-Jul-08 22:45 
AnswerRe: question about autoincrement "identity" Pin
Ashfield28-Jul-08 23:04
Ashfield28-Jul-08 23:04 
GeneralRe: question about autoincrement "identity" Pin
kimo code29-Jul-08 0:17
kimo code29-Jul-08 0:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.