Re: Permission settings of Inventory database
From: Hari (hari_prasad_k_at_hotmail.com)
Date: 03/26/04
- Previous message: Leonard Poon: "Permission settings of Inventory database"
- In reply to: Leonard Poon: "Permission settings of Inventory database"
- Next in thread: Leonard Poon: "Re: Permission settings of Inventory database"
- Reply: Leonard Poon: "Re: Permission settings of Inventory database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 26 Mar 2004 10:34:21 +0530
Hi,
You can implement "Application role" to implement the security strategy
mentioned. What you have to do is Create a Application role and
assign a password and give the required permission to the application role.
Steps:
1. Create a application role and set the password
2. Assign this application role to the database user
3. Enable this application role by giving the password inside your code (So
as users also will not know this password)
4. So after enabling this user will get the access inside application, But
they will get any prev. using query analyzer. This
will ensure that they cant do any Insert / update / delete using Query
analyzer or Enterprise manager.
Thanks
Hari
MCDBA
"Leonard Poon" <leonardpoon@hotmail.com> wrote in message
news:ulnyZ1uEEHA.1988@TK2MSFTNGP10.phx.gbl...
> I'm using a single database for inventory system. Inventory data of all
> shops are stored in the same database with restricted permissions to their
> own data. That means, users / programs can only access their own inventory
> information.
> But, this is problem, the entire database is required to be accessed
during
> internal processes and in stored procedures.
>
> I wanna know if it is possible to have full-access permission on the
> database for only inside stored procedures calls and keep restricting the
> users from accessing other data.
>
> Leonard
>
>
- Previous message: Leonard Poon: "Permission settings of Inventory database"
- In reply to: Leonard Poon: "Permission settings of Inventory database"
- Next in thread: Leonard Poon: "Re: Permission settings of Inventory database"
- Reply: Leonard Poon: "Re: Permission settings of Inventory database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|