Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 3rd, 2006, 06:23 PM
Authorized User
 
Join Date: Jul 2004
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default Readonly ADP Data

I have a SQL database that the users have Read/Write access via AD and a VB application. I want to set up an ADP project for reports and inquiry selections.

When I set up an ADP it shows all the tables and views etc. I want to restrict them from modifying data in the ADP. I can make it to where they can't modify the structure or add new views etc, but it still allows database manipulation.

Is there some way that I can set the data as read only?

David
 
Old May 4th, 2006, 06:46 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

If this is a true OLAP database, then don't connect it to SQL. Just import all the table data when they open the database, and let them do what they want with it. Anyway, that is what I would do.

An alternative is to create a Read Only account on SQL server, and set its authentication to Mixed. Then pass the credentials in plain text (since it is read only) in your connection strings. Then when they open the database, it logs in automatically as though it were using AD/Windows NT authentication, but they have read only.

Another solution is to change their rights on the single database to read only. Just create a group called Readers, and put all of your readers in it. This will take the longest, but is the tightest.

HTH

mmcdonal
 
Old May 4th, 2006, 10:12 AM
Authorized User
 
Join Date: Jul 2004
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks mmcdonal. the Mixed Mode would be best I think at this point. the thig is that the do need write access, but only via the VB program, this front end will only be used for reporting and inquiries, so setting them all read only wouldn't be valid.

Thanks again!
David






Similar Threads
Thread Thread Starter Forum Replies Last Post
Recordset is readonly vb.net-newbie ADO.NET 1 May 8th, 2007 11:12 AM
DataBase is readonly debabrata ASP.NET 2.0 Professional 0 April 17th, 2007 04:54 AM
readonly checkbox Dj Kat HTML Code Clinic 3 November 10th, 2006 08:34 AM
Delete Query in Access Data Project (ADP) Pavesa Access 1 February 18th, 2005 08:38 AM
Cant enter data into Tables ADP cuzintone Access 2 November 29th, 2004 10:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.