PC Review


Reply
Thread Tools Rate Thread

Access 2007 Application for Reports Only – SQL Server Security

 
 
Brad
Guest
Posts: n/a
 
      20th May 2010
Background - Small firm / No DBA / Purchased package that stores data in
SQL Server 2005

We are developing a new reporting system with Access 2007. We want to
GUARANTEE that this new system will NEVER be able to update any SQL Server
tables.

No one has much SQL Server security experience, so we would like to know if
we are on the right track.



Here is what we are planning to do -

Set up new SQL Server Login (at the Server level)

Set up new SQL Server User (at the Database level) tied to the SQL Server
Login we just set up

Assign this new SQL Server User the role of db_datareader (and nothing else)

Change Server Authentication from “Windows Authentication Mode” to “SQL
Server and Windows Authentication Mode”
(Done at the Server Level)

Set up a new ODBC connection with our new Login and User

Tie the Access 2007 Reporting Application to this new ODBC connection

Are these the proper steps?



Also we have a question about one authentication overriding another…

Currently all users have Windows Authentication that permits them to update
the SQL tables in the purchased system.

If our new Access reporting system uses our new ODBC connection with the
User that only has db_datareader will this prevent any table updates via our
Access system, or will the original Windows Authentication that allows
updates override this and allow updates?

Thanks,
Brad

~~~~~~~~~~~~~~~~~~

 
Reply With Quote
 
 
 
 
Tom van Stiphout
Guest
Posts: n/a
 
      21st May 2010
On Thu, 20 May 2010 10:31:01 -0700, Brad
<(E-Mail Removed)> wrote:

You can of course test this out on a backup of your database, but yes
I believe your steps are correct.

If you're logging in as a sqlserver user, it does not matter that you
also have windows auth rights.

-Tom.
Microsoft Access MVP


>Background - Small firm / No DBA / Purchased package that stores data in
>SQL Server 2005
>
>We are developing a new reporting system with Access 2007. We want to
>GUARANTEE that this new system will NEVER be able to update any SQL Server
>tables.
>
>No one has much SQL Server security experience, so we would like to know if
>we are on the right track.
>
>
>
>Here is what we are planning to do -
>
>Set up new SQL Server Login (at the Server level)
>
>Set up new SQL Server User (at the Database level) tied to the SQL Server
>Login we just set up
>
>Assign this new SQL Server User the role of db_datareader (and nothing else)
>
>Change Server Authentication from Windows Authentication Mode to SQL
>Server and Windows Authentication Mode
>(Done at the Server Level)
>
>Set up a new ODBC connection with our new Login and User
>
>Tie the Access 2007 Reporting Application to this new ODBC connection
>
>Are these the proper steps?
>
>
>
>Also we have a question about one authentication overriding another
>
>Currently all users have Windows Authentication that permits them to update
>the SQL tables in the purchased system.
>
>If our new Access reporting system uses our new ODBC connection with the
>User that only has db_datareader will this prevent any table updates via our
>Access system, or will the original Windows Authentication that allows
>updates override this and allow updates?
>
>Thanks,
>Brad
>
>~~~~~~~~~~~~~~~~~~

 
Reply With Quote
 
Brad
Guest
Posts: n/a
 
      21st May 2010
Tom,

Thanks for the help, I really appreciate it.

It looks like SQL Server security can become real complicated, especially
for people who are new to it. We sure don't want to make a mistake and leave
open a door in which someone with Access 2007 could change production data on
the database.

Thanks again,

Brad


"Tom van Stiphout" wrote:

> On Thu, 20 May 2010 10:31:01 -0700, Brad
> <(E-Mail Removed)> wrote:
>
> You can of course test this out on a backup of your database, but yes
> I believe your steps are correct.
>
> If you're logging in as a sqlserver user, it does not matter that you
> also have windows auth rights.
>
> -Tom.
> Microsoft Access MVP
>
>
> >Background - Small firm / No DBA / Purchased package that stores data in
> >SQL Server 2005
> >
> >We are developing a new reporting system with Access 2007. We want to
> >GUARANTEE that this new system will NEVER be able to update any SQL Server
> >tables.
> >
> >No one has much SQL Server security experience, so we would like to know if
> >we are on the right track.
> >
> >
> >
> >Here is what we are planning to do -
> >
> >Set up new SQL Server Login (at the Server level)
> >
> >Set up new SQL Server User (at the Database level) tied to the SQL Server
> >Login we just set up
> >
> >Assign this new SQL Server User the role of db_datareader (and nothing else)
> >
> >Change Server Authentication from “Windows Authentication Mode” to “SQL
> >Server and Windows Authentication Mode”
> >(Done at the Server Level)
> >
> >Set up a new ODBC connection with our new Login and User
> >
> >Tie the Access 2007 Reporting Application to this new ODBC connection
> >
> >Are these the proper steps?
> >
> >
> >
> >Also we have a question about one authentication overriding another…
> >
> >Currently all users have Windows Authentication that permits them to update
> >the SQL tables in the purchased system.
> >
> >If our new Access reporting system uses our new ODBC connection with the
> >User that only has db_datareader will this prevent any table updates via our
> >Access system, or will the original Windows Authentication that allows
> >updates override this and allow updates?
> >
> >Thanks,
> >Brad
> >
> >~~~~~~~~~~~~~~~~~~

> .
>

 
Reply With Quote
 
Stewart Berman
Guest
Posts: n/a
 
      30th May 2010
What prevents the user from creating a new database and creating a new ODBC
connection that doesn't use the restricted userid and password? Since they
are not logged in as an sqlserveruser won't the system connect them using
their integrated authority?

Brad <(E-Mail Removed)> wrote:

>Tom,
>
>Thanks for the help, I really appreciate it.
>
>It looks like SQL Server security can become real complicated, especially
>for people who are new to it. We sure don't want to make a mistake and leave
>open a door in which someone with Access 2007 could change production data on
>the database.
>
>Thanks again,
>
>Brad
>
>
>"Tom van Stiphout" wrote:
>
>> On Thu, 20 May 2010 10:31:01 -0700, Brad
>> <(E-Mail Removed)> wrote:
>>
>> You can of course test this out on a backup of your database, but yes
>> I believe your steps are correct.
>>
>> If you're logging in as a sqlserver user, it does not matter that you
>> also have windows auth rights.
>>
>> -Tom.
>> Microsoft Access MVP
>>
>>
>> >Background - Small firm / No DBA / Purchased package that stores data in
>> >SQL Server 2005
>> >
>> >We are developing a new reporting system with Access 2007. We want to
>> >GUARANTEE that this new system will NEVER be able to update any SQL Server
>> >tables.
>> >
>> >No one has much SQL Server security experience, so we would like to know if
>> >we are on the right track.
>> >
>> >
>> >
>> >Here is what we are planning to do -
>> >
>> >Set up new SQL Server Login (at the Server level)
>> >
>> >Set up new SQL Server User (at the Database level) tied to the SQL Server
>> >Login we just set up
>> >
>> >Assign this new SQL Server User the role of db_datareader (and nothing else)
>> >
>> >Change Server Authentication from Windows Authentication Mode to SQL
>> >Server and Windows Authentication Mode
>> >(Done at the Server Level)
>> >
>> >Set up a new ODBC connection with our new Login and User
>> >
>> >Tie the Access 2007 Reporting Application to this new ODBC connection
>> >
>> >Are these the proper steps?
>> >
>> >
>> >
>> >Also we have a question about one authentication overriding another
>> >
>> >Currently all users have Windows Authentication that permits them to update
>> >the SQL tables in the purchased system.
>> >
>> >If our new Access reporting system uses our new ODBC connection with the
>> >User that only has db_datareader will this prevent any table updates via our
>> >Access system, or will the original Windows Authentication that allows
>> >updates override this and allow updates?
>> >
>> >Thanks,
>> >Brad
>> >
>> >~~~~~~~~~~~~~~~~~~

>> .
>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
About Application Security(Code Access Security). It dosn't show correct output Tony Johansson Microsoft C# .NET 3 14th Apr 2010 03:44 PM
importing table contents from Word 2007 into Access 2007 andgenerating queries, reports using Access 2007 g_1 Microsoft Word Document Management 3 12th Nov 2009 06:58 AM
Access 2007 Application - Remote Access to SQL-Server in another c Brad Microsoft Access Getting Started 1 21st Jan 2009 06:54 AM
Converting an ADP project to VB + SQL Server + reports....Access 2003/2007 Atlas Microsoft Access ADP SQL Server 5 20th Feb 2007 06:58 PM
Server cannot access application directory D:\xxx. The directorydoes not exist or is not accessible because of security settings. Matthias Wohlmann Microsoft ASP .NET 2 4th Jan 2006 07:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:46 PM.