MartyConnelly
martyconnelly at shaw.ca
Wed Sep 1 15:09:25 CDT 2004
I have handled it by turning security off in registry keys. Your net admin could handle this system wide. HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Access\Security\Level If the value is 1, then the macro security of Access 2003 is set to low. If the value is 2, then the macro security of Access 2003 is set to medium. If the value is 3, then the macro security of Access 2003 is set to high. Not sure if certmgr.exe to create certificate from Win2003 has to be created for each new version of the ADP which could be a pain if doing a lot of mods. See my post Re: [AccessD] Access 2003, Runtime, and Built-in Security Aug 2 2004 You can check this registry key in code below Not sure about Access 2002 version=10 If Application.Version >= 11 Then 'set it Application.AutomationSecurity = 1 ' msoAutomationSecurityLow 'or read it debug.print "Security level=" & Application.AutomationSecurity End If Polly R Peterson wrote: >If any of you have experience/advice on this issue we would appreciate >your input. Thanks in advance! >-Polly P. >________________________________________________________________________ >___________________ > > >PROBLEM: >Converting from Office XP to Office 2003 raises security warning >messages in Access .ADP applications that are delivered to users via a >standard image. > > >CONVERSION SECURITY ISSUE: >When testing our .adp applications in an Office 2003 test environment, >we find the following results: > >* When macro security is set to high applications basically do not >function. >* When macro security is set to medium, a security warning appears >at startup: > >"This file may not be safe if it contains code that was intended to harm >your computer. Do you want to open the file or cancel the operation?" > >If you select 'open' then the application appears to function normally > >* When macro security is set to low: Everything appears to >function normally. > > >OUR PROPOSED SOLUTION: >Microsoft recommends setting Macro Security to medium or high in Access >applications. After reading several articles, I'm leaning toward the >following solution: >Set Access macro security to medium and disable the security warning. >>From what I've read, it's possible for an administrator to do this via >Certificate Server on Windows 2000/2003 Server. The administrator could >create a digital signature that would be valid across the domain. This >digital signature certificate would essentially turn off the error >message you see if macro security settings are at medium. > > >QUESTIONS >1. How can we best adopt Microsoft's security recommendations and >avoid this error message? >2. Does our solution seem sensible? Has anyone actually done this >before? Are their details I'm overlooking? How have others dealt with >this conversion? >3. Where can we see what security level we are currently using in >Access 2002? The Tools, Macro, Security path isn't an option in 2002 >and I can't find much on Macro security in that environment. > > > >SPECS: >We're currently running Office XP, Access 2002, MS Jet 4.0 sp 8 >(4.0.8618.0), Security Level: ? > >We're Migrating to Office 2003, Access 2003, MS Jet 4.0 sp 8 >(4.0.8618.0), Security Level Medium > > -- Marty Connelly Victoria, B.C. Canada