Re: Web form w/ Access DB Security
From: Mary Chipman [MSFT] (mchip_at_online.microsoft.com)
Date: 03/16/05
- Next message: wwcoop: "Re: Web form w/ Access DB Security"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Retrieve User Name in C#.net"
- In reply to: wwcoop: "Web form w/ Access DB Security"
- Next in thread: wwcoop: "Re: Web form w/ Access DB Security"
- Reply: wwcoop: "Re: Web form w/ Access DB Security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 16 Mar 2005 11:13:47 -0500
If security is a genuine concern, then DO NOT use an Access database.
Access was originally designed and conceived to be a desktop database
over 12 years ago, and it hasn't changed all that much in the
meantime. It's so-called security features have been hacked a long
time ago, and it does not function well as a data store for a web
application. I'd advise looking into SQL Server/MSDE as a back end for
your web app.
That being said, for Access you should be using the OleDb provider,
not ODBC. DSNs are another huge security hole since the user ID and
password is stored in clear text. You would need to grant the
appropriate ACLs to the ASPNET worker process account (Windows) on the
file share that the .mdb and .mdw reside on.
--Mary
On Wed, 16 Mar 2005 06:25:03 -0800, wwcoop
<wwcoop@discussions.microsoft.com> wrote:
>I am deploying a web form developed in VB.NET
>using an OleDB connection to an Access DB.
>I am able to deploy the app with the DB residing
>in the same folder to the web server and get it
>running.
>
>I now want to change the configuration so that
>the the DB does NOT reside anhywhere in the web
>directory. (For security reasons.)
>
>I tried setting up a DSN in the ODBC Data Source
>Administrator, however I now know that
>Visual Studio does not support use of a DSN in
>the IDE (at least not comprehensively)--
>you have to use a code behind which
>can be rather nasty.
>( See http://www.developerfusion.com/show/3581/ )
>
>Question: How would I access this DB if it is on another
>computer on the same network? OR, can I put the DB
>outside of the web directory on the web server and
>still be able to access it? What configuration should I
>use?
>
>Thanks!
- Next message: wwcoop: "Re: Web form w/ Access DB Security"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Retrieve User Name in C#.net"
- In reply to: wwcoop: "Web form w/ Access DB Security"
- Next in thread: wwcoop: "Re: Web form w/ Access DB Security"
- Reply: wwcoop: "Re: Web form w/ Access DB Security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|