473,804 Members | 3,720 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sign your macros?

For software you build for others, do most of you sign your macros and
if so how or do you set macro security to low?

Bob
Jun 27 '08
14 1597
diogenes <li***@dark.com wrote:
>I looked into this a while ago and it seemed like the least expensive digital
certificate was around $700 US a year.
No, I've seen them for $85 per year.
https://secure.ksoftware.net/code_signing_payment.html

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jun 27 '08 #11
"Arno R" <ar************ ****@planet.nlw rote:
>No-one in this thread has stated that you can programmaticall y set macro security to low...
(I guess some virusses try to do so ...)
I do as part of the Install routine which an administrator has to run. Hmm, or maybe
I don't now that I think about it.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jun 27 '08 #12
diogenes <li***@dark.com wrote:
>If I set macro security to low when developing my application, then create an
MDE and distribute it with a runtime, will the runtime "pick up" the macro
security setting from the MDE?
No, this is a registry setting.
>I don't distribute ANYTHING that requires anyone to run it under their own
retail Access installation. I'm hoping there is a way to have macro security
low only on my app, but not disturb any settings the user may have for any
other Access apps.
Using an external launcher to set AutomationSecur ity property is the only method that
I know of other than using code signing. Now why MS allowed this "hole" is beyond
me.

The following URLs may be of assistance.

How to implement the Application.Aut omationSecurity property in Office XP
http://support.microsoft.com/kb/317405

Understanding Macro Security Levels in Office
http://office.microsoft.com/en-us/or...403181033.aspx

The AutomationSecur ity property behavior has changed in Office 2003
http://support.microsoft.com/kb/825939/en-us

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jun 27 '08 #13
Tony Toews [MVP] wrote:
diogenes <li***@dark.com wrote:

>>If I set macro security to low when developing my application, then create an
MDE and distribute it with a runtime, will the runtime "pick up" the macro
security setting from the MDE?


No, this is a registry setting.

>>I don't distribute ANYTHING that requires anyone to run it under their own
retail Access installation. I'm hoping there is a way to have macro security
low only on my app, but not disturb any settings the user may have for any
other Access apps.


Using an external launcher to set AutomationSecur ity property is the only method that
I know of other than using code signing. Now why MS allowed this "hole" is beyond
me.

The following URLs may be of assistance.

How to implement the Application.Aut omationSecurity property in Office XP
http://support.microsoft.com/kb/317405

Understanding Macro Security Levels in Office
http://office.microsoft.com/en-us/or...403181033.aspx

The AutomationSecur ity property behavior has changed in Office 2003
http://support.microsoft.com/kb/825939/en-us

Tony
I opened an app and pressed View/Toolbar/Customize and had a custom
menubar and the regular Main database menu bar. I went to
Tools/Macro/Security and dragged it to the custom menubar. Then reset
the Main database menu. I now have the custom menu bar with the Macro
security. Wouldn't that work?
Jun 27 '08 #14
"Tony Toews [MVP]" <tt****@teluspl anet.netwrote in
news:ri******** *************** *********@4ax.c om:
diogenes <li***@dark.com wrote:
>>If I set macro security to low when developing my application, then
create an MDE and distribute it with a runtime, will the runtime "pick
up" the macro security setting from the MDE?

No, this is a registry setting.
>>I don't distribute ANYTHING that requires anyone to run it under their
own retail Access installation. I'm hoping there is a way to have macro
security low only on my app, but not disturb any settings the user may
have for any other Access apps.

Using an external launcher to set AutomationSecur ity property is the
only method that I know of other than using code signing. Now why MS
allowed this "hole" is beyond me.
So, the Registry setting in the Runtime is unavailable to the user (unless I
code a UI to it). So what is it's default installed state?

Maybe this is something I can set using SageKey scripts for my installation
package.
Jun 27 '08 #15

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

Similar topics

21
2996
by: Chris Reedy | last post by:
For everyone - Apologies for the length of this message. If you don't want to look at the long example, you can skip to the end of the message. And for the Python gurus among you, if you can spare the time, I would appreciate any comments (including words like evil and disgusting, if you think they are applicable :-}) on the example here. Kenny -
699
34279
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro capabilities, unfortunately. I'd like to know if it may be possible to add a powerful macro system to Python, while keeping its amazing syntax, and if it could be possible to add Pythonistic syntax to Lisp or Scheme, while keeping all of the...
16
2426
by: mike420 | last post by:
Tayss wrote: > > app = wxPySimpleApp() > frame = MainWindow(None, -1, "A window") > frame.Show(True) > app.MainLoop() > Why do you need a macro for that? Why don't you just write
37
2819
by: michele.simionato | last post by:
Paul Rubin wrote: > How about macros? Some pretty horrible things have been done in C > programs with the C preprocessor. But there's a movememnt afloat to > add hygienic macros to Python. Got any thoughts about that? "Movement" seems quite an exaggeration. Maybe 2-3 people made some experiments, but nobody within the core Python developers seems to be willing to advocate the introduction of macros. > Why should you care whether the...
3
2667
by: Stephen Sprunk | last post by:
On a project I'm working on, I ran across the following macros: /* assume s is struct stream *, s->p is char, v is unit16_t or uint32_t */ #define in_uint16_le(s,v) { v = *((s)->p++); v += *((s)->p++) << 8; } #define in_uint32_le(s,v) { in_uint16_le(s,v) \ v += *((s)->p++) << 16; v += *((s)->p++) << 24; } I'm personally not fond of function-like macros and wanted to turn these into static inline functions, but I'm having trouble doing...
47
32927
by: Emil | last post by:
Is there any hope that new versions of PHP will support macros similar to C or C++? I've searched manual and didn't find anything except define directive, but it can be used to define constant values only. Of course it is not THAT neccessary functionality, but it could be very useful. greetz Emil
33
8910
by: Robert Seacord | last post by:
When writing C99 code is a reasonable recommendation to use inline functions instead of macros? What sort of things is it still reasonable to do using macros? For example, is it reasonable to write type generic functions macros? #define CUBE(I) ( (I) * (I) * (I) ) Is there some more concise set of things where inline functions should be used instead of macros? Multi-statement macros, for example?
17
10398
by: Digital Puer | last post by:
I've inherited some code where the coder placed dollar signs in his preprocessor macros. What is the significance of the dollar signs ($) ? Example: #define ALLOCATE(task,pointer) \ { \ long task$; \ if (task == FOO) { \ task$ = ZERO); \
27
6080
by: artifact.one | last post by:
Hello. I want to be able to portably determine whether or not a given double value is negative. Under C99, I do: if (signbit(d)) negative = 1; Or, if the implementation doesn't provide signbit(), I do:
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10580
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10323
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10082
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9157
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7621
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5652
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3821
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.