Rich Client and Windows Authentication

From: Tom (someone@nobody.com)
Date: 11/22/02


From: "Tom" <someone@nobody.com>
Date: Fri, 22 Nov 2002 22:01:06 +0100


Greets,

I've got a rich client that connects to a central database. To connect, you
need to be a member of at least 1 of 3 groups, each with different
privileges.

First, I'll cover a bit of background before entering the problem area. The
table under the spotlight is called "Quotes". You can get different
information from the Quotes-table depending on what group you're member of;
i.e. a quirk is that you should be able to see the customer-name in the
quote on those issued by you, but not on quotes issued by other users.

The problem here with the SELECTs is that if you're in a group where you
should be only allowed to see

    - your quotes
    - other people's quotes with customer-name blanked out

it means that you'll have SELECT-permissions on the table. To make things
better, you're allowed to delete quotes that you've issued (but not others),
giving you DELETE-permissions on the table. Now, with these permissions, how
do I prevent:

    (1) the user from seeing customer-names on quotes not issued by
him/her
    (2) the user from deleting quotes issued by others

To make matters worse, the name of the database-server is well-known or easy
to find out by listening. The database-server is accessible by members of
this group. They could add it in Enterprise Manager and browse the tables if
they wanted to. The way I see it, if they have SELECT-permissions, they
could fire a query at the database directly like

    SELECT CustomerName FROM Quotes

simply because they should be able to see customer-name on the quotes issued
by them, but not others. They need access to the CustomerName-column.

Is there a way to give a user only permissions to maybe a stored procedure
that performs the selects? Or will executing that stored procedure require
SELECT-permissions? How should I tackle these problems? Any notes from the
field?

Kind regards,

Tom



Relevant Pages

  • Re: HOME BASED JOB OPPORTUNITY - MAKE MILLIONS WITH Rs.60!
    ... Free entry into draw. ... > THIS CAN REALLY MAKE YOU EASY MONEY! ... Try to Remember that you don`t change the Main Database ... > mail/courier with money to the main member and to the other 5 upline ...
    (soc.culture.indian.gujarati)
  • Re: HOME BASED JOB OPPORTUNITY - MAKE MILLIONS WITH Rs.60!
    ... Free entry into draw. ... > THIS CAN REALLY MAKE YOU EASY MONEY! ... Try to Remember that you don`t change the Main Database ... > mail/courier with money to the main member and to the other 5 upline ...
    (soc.culture.indian.karnataka)
  • Re: HOME BASED JOB OPPORTUNITY - MAKE MILLIONS WITH Rs.60!
    ... Free entry into draw. ... > THIS CAN REALLY MAKE YOU EASY MONEY! ... Try to Remember that you don`t change the Main Database ... > mail/courier with money to the main member and to the other 5 upline ...
    (soc.culture.indian.karnataka)
  • Re: Handling addresses
    ... am seeking guidance regarding handling member addresses. ... asked to learn how to make the database relational and make it more usable. ... I have junction tables to match the customer names with the addresses, ... CustomerNames with a Subform based on tblJunctionAddress - or a query joining ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Newbie Database ER model question
    ... which is one of the goals of relational database structures.) ... How do you plan to store posts when the same member posts ... who will ensure that all messages posted to the forum are appropriate. ...
    (comp.databases.ms-access)