PC Review


Reply
Thread Tools Rate Thread

Connect a secure back-end from a non-secure front-end

 
 
=?Utf-8?B?Um9uYWxk?=
Guest
Posts: n/a
 
      14th Feb 2005
How can I connect a secure back-end database from a non-secure front-end
database? I just cannot find the answer in the knowledge base.
Thanks in advance.
 
Reply With Quote
 
 
 
 
Alex Dybenko
Guest
Posts: n/a
 
      14th Feb 2005
You have to add password to connection:

tdf.Connect = ";DATABASE=mydb.mdb;PWD=mypassword"

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com



"Ronald" <(E-Mail Removed)> wrote in message
news:55533754-5399-4FA2-88B5-(E-Mail Removed)...
> How can I connect a secure back-end database from a non-secure front-end
> database? I just cannot find the answer in the knowledge base.
> Thanks in advance.



 
Reply With Quote
 
Stefan Kowalski
Guest
Posts: n/a
 
      14th Feb 2005

"Ronald" <(E-Mail Removed)> wrote in message
news:55533754-5399-4FA2-88B5-(E-Mail Removed)...
> How can I connect a secure back-end database from a non-secure front-end
> database? I just cannot find the answer in the knowledge base.
> Thanks in advance.



If the front end is not secured, then it does not matter which workgroup you
belong ot when you open it. So you might as well open it with the workgroup
which was made for the backend. You could use a shortcut like:

"C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE"
"C:\MyFolder\MyFrontEnd.mdb" /WRKGRP "C:\AnotherFolder\MyWorkgroup.mdw"

Once you have started Access and logged on, you can create links to the
backend without having to supply any further information.


 
Reply With Quote
 
=?Utf-8?B?Um9uYWxk?=
Guest
Posts: n/a
 
      15th Feb 2005
Hi Alex.

This piece of code works but only as long as you are in side of the function
after the Set dbProtected. I need code that keeps the secure database open
until the front-end is closed.

Public Function Connect()

Dim wrk As Workspace
Dim dbProtected As Database

Set wrk = DBEngine.Workspaces(0)
Set dbProtected = [wrk].OpenDatabase("C:\Database\Secure.mdb", False,
False, ";PWD=password")

End Function

Greetings,

Ronald.

"Alex Dybenko" wrote:

> You have to add password to connection:
>
> tdf.Connect = ";DATABASE=mydb.mdb;PWD=mypassword"
>
> --
> Alex Dybenko (MVP)
> http://Alex.Dybenko.com
> http://www.PointLtd.com
>
>
>
> "Ronald" <(E-Mail Removed)> wrote in message
> news:55533754-5399-4FA2-88B5-(E-Mail Removed)...
> > How can I connect a secure back-end database from a non-secure front-end
> > database? I just cannot find the answer in the knowledge base.
> > Thanks in advance.

>
>
>

 
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
IE6: remedy for prompts: "page contains secure and non-secure item Marc Windows XP Internet Explorer 2 26th Sep 2008 05:42 PM
Splitting a secure database - and keeping the back end secure. Stapes Microsoft Access 1 24th Aug 2007 11:11 AM
Stuck trying to secure both front and back-end =?Utf-8?B?am9uZWZlcg==?= Microsoft Access Security 7 26th Apr 2006 11:28 PM
Re: secure Oracle back-end with access front-end Rick Brandt Microsoft Access Security 1 6th Apr 2004 03:11 PM
Lexar Secure USB flash drive - how secure is my data compared to PGP? Eric Storage Devices 0 18th Dec 2003 06:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:06 AM.