Database Roles
From: Boris Nikolaevich (boris@nikolaevich.mailshell.com)
Date: 08/15/02
- Next message: BP Margolin: "Re: SA Login"
- Previous message: BP Margolin: "Re: Northwind and Pubs databases"
- Next in thread: Boris Nikolaevich: "Re: Database Roles"
- Reply: Boris Nikolaevich: "Re: Database Roles"
- Reply: BP Margolin: "Re: Database Roles"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Boris Nikolaevich" <boris@nikolaevich.mailshell.com> Date: Wed, 14 Aug 2002 16:43:13 -0700
One of our clients has a SQL 2000 database hosted with his ISP. For
security reasons, the ISP only gives one login per customer--period.
However, the customer's requirements define a user who can read/write/delete
data in any table and users who can read data in any table but only write
data in certain tables.
If I only have one login, is it possible to create and use different roles
at different times for the same login? For example, let's say I have
DefaultLogin as the user name and PowerUser, BasicUser as the user-defined
roles. Is it possible to connect to the database and say, "Login as
DefaultLogin using the PowerUser role" for one user and "Login as
DefaultLogin using the BasicUser role" for other users?
The front-end currently connects using ADO. I could certainly code
restrictions into the front end regarding which tables can be written to by
which type of user, but I'd rather open as few doors as possible.
Thanks for any suggestions,
Brian Lewis
- Next message: BP Margolin: "Re: SA Login"
- Previous message: BP Margolin: "Re: Northwind and Pubs databases"
- Next in thread: Boris Nikolaevich: "Re: Database Roles"
- Reply: Boris Nikolaevich: "Re: Database Roles"
- Reply: BP Margolin: "Re: Database Roles"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|