Re: Read-only Reports User
From: Andrew J. Kelly (akelly@targitinteractive.com)
Date: 11/07/02
- Next message: Jasper Smith: "Re: Read-only Reports User"
- Previous message: SQL Server Development Team: "Re: URL ACCESS TO DATA - SPECIFY ACCOUNT TO USE?"
- In reply to: Andrew J. Kelly: "Re: Read-only Reports User"
- Next in thread: Jasper Smith: "Re: Read-only Reports User"
- Reply: Jasper Smith: "Re: Read-only Reports User"
- Reply: Steve Kass: "Re: Read-only Reports User"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Andrew J. Kelly" <akelly@targitinteractive.com> Date: Thu, 7 Nov 2002 16:46:36 -0500
Cindee,
I was just graciously informed that I had my head somewhere it shouldn't
have been when I answered one part of your question. I believe the users
still need access to the underlying tables when a view is cross db. You
best bet may be to script the permissions as I mentioned in the other parts.
Sorry about that.
-- Andrew J. Kelly SQL MVP Targitinteractive, Inc. Check out the PASS Community Summit - Seattle, the largest and only user event entirely dedicated to SQL Server, November 19-22. http://www.sqlpass.org/events/seattle/index.cfm "Andrew J. Kelly" <akelly@targitinteractive.com> wrote in message news:ebD238ohCHA.1960@tkmsftngp11... > > a. They only see these 20 or so tables in the LINK table > > window > > Not possible directly. They will see all the objects but will only be able > to actually read from the ones you permit. > You can create a separate DB with views that point to the tables in the > other db's and give them select permission on the views and point them to > that db only. Then they only see those objects and not all the rest. Not > particularly pretty but one of the only way's I know of to stop them from > seeing the other tables. > > > > b. Their access is READ-ONLY to those tables > > Create a ROLE and assign these users to that role. > > > > My problem is that this will turn into an all day job to > > open each database and go to the Reports user's Permission > > and then put an X in each box (except Select) on all 500 > > tables. > > Use tsql such as GRANT to do this. You can copy and paste the code very > easily. > > -- > Andrew J. Kelly SQL MVP > Targitinteractive, Inc. > > Check out the PASS Community Summit - Seattle, the largest and only user > event entirely dedicated to SQL Server, November 19-22. > http://www.sqlpass.org/events/seattle/index.cfm > > > "Cindee Roby" <croby@ohlogistics.com> wrote in message > news:83a301c2867b$dd07a3c0$37ef2ecf@TKMSFTNGXA13... > > We use MS Access and Crystal for reporting on our MS Great > > Plains SQL data. We have about 15 different databases > > with approx 500 tables in each database. Of all these > > tables, users need Read Only access to about 20 of them in > > each DB for reports. I created a Reports user (we only > > need one at a time) that they use to log into the data > > through an ODBC connection. I want to ensure a couple of > > things: > > > > a. They only see these 20 or so tables in the LINK table > > window > > b. Their access is READ-ONLY to those tables > > > > My problem is that this will turn into an all day job to > > open each database and go to the Reports user's Permission > > and then put an X in each box (except Select) on all 500 > > tables. > > > > There's got to be a quicker way.... anyone know it? > > > > Thanks a lot! > > > > ~Cindee > >
- Next message: Jasper Smith: "Re: Read-only Reports User"
- Previous message: SQL Server Development Team: "Re: URL ACCESS TO DATA - SPECIFY ACCOUNT TO USE?"
- In reply to: Andrew J. Kelly: "Re: Read-only Reports User"
- Next in thread: Jasper Smith: "Re: Read-only Reports User"
- Reply: Jasper Smith: "Re: Read-only Reports User"
- Reply: Steve Kass: "Re: Read-only Reports User"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|