473,396 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Create digitally signed MDE files in Access 2007

How do we create digitally signed MDE files in Access 2007 ?

I tried to follow the procedure I was using in other office versions.

1. I installed the Verisign certificate (with private key).
2. Signed the MDB from VBA.
3. Create the MDE.

When I try to open the signed MDE, even on the developement machine
with
Verisign certificate (with private key), not only on test machine, I
get the
following warning: "It is not possible to determine that this content
came
from a trustworthy source. You should leave this content disabled
unless the
content provides critical functionality and you trust its source."

this secuirty notice does not give me the option for trusting my
certificate
as a trusted publisher.

Access macro security is "disable all macros with notification".

I selected "Disable all trusted locations. Only files signed by
Trusted publishers
will be trusted" but the problem is still the same. Singed MDB opens
ok, signed MDE is not ok. Is signed certificate been removed from MDE
files ?

My signed MDE's open (without certificate been checked) when I add my
program's directory in trusted locations.

Since my MDE's are signed, I shouldn't had to add my program's
directory in trusted locations.

Am I doing sth wrong in signing it ?

May 15 '07 #1
4 4626
On 14 May 2007 22:16:54 -0700, Chris <CL*****@gmail.comwrote:

Your MDE is not signed. You can verify this using the Properties in
Explorer.

I would run the steps
1. I installed the Verisign certificate (with private key).
2. Create the MDE.
3. Signed the MDE from VBA.

-Tom.
>How do we create digitally signed MDE files in Access 2007 ?

I tried to follow the procedure I was using in other office versions.

1. I installed the Verisign certificate (with private key).
2. Signed the MDB from VBA.
3. Create the MDE.

When I try to open the signed MDE, even on the developement machine
with
Verisign certificate (with private key), not only on test machine, I
get the
following warning: "It is not possible to determine that this content
came
from a trustworthy source. You should leave this content disabled
unless the
content provides critical functionality and you trust its source."

this secuirty notice does not give me the option for trusting my
certificate
as a trusted publisher.

Access macro security is "disable all macros with notification".

I selected "Disable all trusted locations. Only files signed by
Trusted publishers
will be trusted" but the problem is still the same. Singed MDB opens
ok, signed MDE is not ok. Is signed certificate been removed from MDE
files ?

My signed MDE's open (without certificate been checked) when I add my
program's directory in trusted locations.

Since my MDE's are signed, I shouldn't had to add my program's
directory in trusted locations.

Am I doing sth wrong in signing it ?
May 15 '07 #2
Thanks a lot, Tom for your message.

Since my 2007 mdb (2002-2003 format) is signed, why the MDE I created
(using the MDB) is not signed ?

I haven't tried but could it be that only .ACCDB signed files could
create signed MDE files ?

May 15 '07 #3
On 15 May 2007 07:20:52 -0700, Chris <CL*****@gmail.comwrote:

I haven't tried all the combinations myself, but if you have some
time, please do and post back your findings here for others to enjoy.

The way I think about creating an MDE is that Access creates a new
file, and puts the compiled objects in it. But it does not take the
digital signature wrapper with it (nor should it - think about the
abuse that could ensue)

-Tom.

>Thanks a lot, Tom for your message.

Since my 2007 mdb (2002-2003 format) is signed, why the MDE I created
(using the MDB) is not signed ?

I haven't tried but could it be that only .ACCDB signed files could
create signed MDE files ?
May 15 '07 #4
The problem is that I don't have time :-(

I could never imagine this would be problem.

As in 2003, MDB files could be digitally signed and MDE files were
keeping the signature so clients could trust the MDE files. In 2007 it
seems to be different. I tried to create a ACCDB also and sign it, but
another file is created. If you try to open the new file created,
Access asks you to extact it in a new db.
May 17 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: CLarkou | last post by:
My program in Office 2003 has digitally signed databases. My security is medium. I have 1 database (MDE) without any data. Program makes a copy of this empty database (signed) to a new directory...
1
by: Peter Wyss | last post by:
Hello, Does anyone have any Information, Turtorials, FAQ's or Websites about Digitally signed Office Add-Ins written in C#? Thanks for the help, Peter Wyss
11
by: Brian W. Smith | last post by:
I have XML Documents that I am digitally signing, and need to be able to load these documents into DataSet objects. However, after checking the signature and using the DataSet.ReadXML method, I am...
1
by: Gaurav Kapoor via .NET 247 | last post by:
Hi, Prob : I want to send an email which is digitally signed over SMTP. Env: I am developing this on .NET and referencing the CDO library (Interop) to send the mail. I havent found any hints on...
1
by: Ralf | last post by:
Situation: .NET windows service All works fine until we digitally signed the service exe. After that starting the service often fails (A timeout was reached (30000 milliseconds) while waiting...
2
by: Rymfax | last post by:
Hey all. I need to determine whether or not a Windows Driver is digitally signed using a C# application. Can anyone point me in the right direction for doing this? I know it has something to...
2
by: Terry Chapman | last post by:
I have a 2003 Access .mda add-in which I can sign using my Thawte digital certificate. I am now migrating this add-in to Access 2007 and when I try to add my Thawte digital signature Access 2007...
4
by: haxier | last post by:
Hi all I'm developing an application with some reports and we're looking for advice. This reports should be openoffice.org .odf files, pdf files, and perhaps microsoft word files (.doc, .docx?)...
0
by: =?Utf-8?B?amZiZXJtZWpvcA==?= | last post by:
How can I send an email using System.Net.Mail digitally signed? -- Jose
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.