Re: New database user / denying access / view / odbc
From: Michael Vardinghus (mivar@wmdata.com)
Date: 08/31/02
- Next message: pablo: "Re: logged in user can't see tables"
- Previous message: Michael Vardinghus: "Re: New database user / denying access / view / odbc"
- In reply to: BP Margolin: "Re: New database user / denying access / view / odbc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Michael Vardinghus" <mivar@wmdata.com> Date: Sat, 31 Aug 2002 12:49:56 -0700
I think that was it...I didn't have a proper client /
server environment. I logged of my normal use and logged
on as guest - when I used the same odbc-connection with
the same database user I was restricted the way I should
be.
I didn't make any changes but now I'm pretty sure that it
will work in a real environment.
>-----Original Message-----
>Michael,
>
>I know this isn't a lot of help, but Query Analyzer
connects to SQL Server
>via ODBC, so I doubt very much whether this is an ODBC
issue.
>
>My best guess, is that your application ODBC connection
string is using
>Windows Authentication, and so is connecting as you, and
your permissions,
>rather than that of the user that you are trying to
impersonate.
>
>-------------------------------------------
>BP Margolin
>Please reply only to the newsgroups.
>When posting, inclusion of SQL (CREATE TABLE ...,
INSERT ..., etc.) which
>can be cut and pasted into Query Analyzer is appreciated.
>
>"Michael Vardinghus" <mivar@wmdata.com> wrote in message
>news:aaec01c2511d$e6fa9b00$35ef2ecf@TKMSFTNGXA11...
>> Hello
>>
>> I have a problem. I have created a new database role to
>> wich I have created a new user - this user has only been
>> granted access to a view that I have created.
>>
>> When I try to select something from query analyzer with
>> the new user it works perfectly - i can select something
>> from the tables that the user has no rights to -
>> however....
>>
>> When I connect through odbc to the database with the new
>> database user i can select from the tables that the user
>> has no rights to ?
>>
>> Why doesn't it work with the odbc connection.
>
>
>.
>
- Next message: pablo: "Re: logged in user can't see tables"
- Previous message: Michael Vardinghus: "Re: New database user / denying access / view / odbc"
- In reply to: BP Margolin: "Re: New database user / denying access / view / odbc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|