Group:  Microsoft Access ยป microsoft.public.access.odbcclientsvr
Thread: How Do I Connect to a Secured MS Access Database via ODBC / DSNLESS connection??

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

How Do I Connect to a Secured MS Access Database via ODBC / DSNLESS connection??
"Edwin Hannan" <edwin.hannan_AT_NOSPAM_ntlworld.com> 21.08.2006 10:09:53
Hi All

I am new to connecting MS Access and SQL databases so hope you all dont
mind me posting an
access related question:-)

I use the following dsnLess connection string to connect to a access 2000
mdb that is not secured. (I use Clarion as a Front End)..this connects me to
the
mdb no problem.

I have a Global varaible AccessDBsource in the owner field of the table in
my Table
Definition which I assign the following connection string.

AccessDBsource = 'DRIVER={{Microsoft Access Driver (*.mdb)}' |
& ';DBQ=YourMdbFile' |
& ';UID=admin' |
& ';PWD=YourPasswordIfAny' |
& ';ImplicitCommitSync=Yes' |
& ';UserCommitSync=Yes' |
& ';ExtendedAnsiSql=1' |
& ';Threads=4' |
& ';PageTimeout=5' |
& ';MaxScanRows=8' |
& ';MaxBufferSize=2048' |
& ';FIL=MS Access'

I know the name and location of the Secured.mdw that holds the workgroup
info (users and passwords etc...) and I know all the passwords etc...

The actual mdb does not have a password, so access must be via authorised
uid and pw as per the Secured.mdw

What do I add to the connection string to get me in?

cheers

Ed

--
Edwin Hannan
edwinDOThannanAT_ntlworldDOT_com


Re: How Do I Connect to a Secured MS Access Database via ODBC / DSNLESS connection??
"Mary Chipman [MSFT]" <mchip[ at ]online.microsoft.com> 21.08.2006 16:50:04
If you're looking for connection string syntax, you can find it here:
http://www.carlprothman.net/Default.aspx?tabid=90#ODBCDriverForAccess.

If you're new to Access, you should be aware that Access (Jet)
security is considered to be an oxymoron. It was cracked a long time
ago and offers no real protection. If you google it, you'll get
thousands of hits offering products and services to help you bypass
it. Access security is only good for deterring people who either have
no bad intentions or else are too dumb to know how to search the
Internet. For many developers, it's just not worth the hassle.

--Mary

On Mon, 21 Aug 2006 11:09:53 +0100, "Edwin Hannan"
<edwin.hannan_AT_NOSPAM_ntlworld.com> wrote:

[Quoted Text]
>Hi All
>
>I am new to connecting MS Access and SQL databases so hope you all dont
>mind me posting an
>access related question:-)
>
>I use the following dsnLess connection string to connect to a access 2000
>mdb that is not secured. (I use Clarion as a Front End)..this connects me to
>the
>mdb no problem.
>
>I have a Global varaible AccessDBsource in the owner field of the table in
>my Table
>Definition which I assign the following connection string.
>
> AccessDBsource = 'DRIVER={{Microsoft Access Driver (*.mdb)}' |
> & ';DBQ=YourMdbFile' |
> & ';UID=admin' |
> & ';PWD=YourPasswordIfAny' |
> & ';ImplicitCommitSync=Yes' |
> & ';UserCommitSync=Yes' |
> & ';ExtendedAnsiSql=1' |
> & ';Threads=4' |
> & ';PageTimeout=5' |
> & ';MaxScanRows=8' |
> & ';MaxBufferSize=2048' |
> & ';FIL=MS Access'
>
>I know the name and location of the Secured.mdw that holds the workgroup
>info (users and passwords etc...) and I know all the passwords etc...
>
>The actual mdb does not have a password, so access must be via authorised
>uid and pw as per the Secured.mdw
>
>What do I add to the connection string to get me in?
>
>cheers
>
>Ed
Re: How Do I Connect to a Secured MS Access Database via ODBC / DSNLESS connection??
"Edwin Hannan" <ed[ at ]nospam.com> 30.08.2006 11:48:44
Thankyou Mary

Ed



Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net