VBA Project Signing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • isladogs
    Recognized Expert Moderator Contributor
    • Jul 2007
    • 483

    VBA Project Signing

    If anyone is interested, I’ve spent some time testing the new VBA Project Signing feature which is currently available to anyone running Office 365 on an Insiders channel (either Beta or Current Channel Preview). It will soon be released more widely to all those on the Current Channel.

    The feature requires the developer to add a digital signature using a code signing certificate prior to distributing ACCDB/ACCDE apps.
    This has always been possible in MDB/MDE files, but until now, not in ACCDB/ACCDE files

    From my tests, it is certainly more complex to setup, at least initially but it will offer some advantages over using Trusted Locations or Trusted Documents:

    1. Digitally signed files will run equally fast from untrusted locations. This is important for those users whose organisations prevent them running files from trusted locations and who, in recent months, may have experienced poor performance due to an anti-malware scan (AMSI) running EVERY time any code is run from an untrusted location

    2. The digital signature is invalidated (and code can no longer run) if any changes are made to code or if action queries are modified. This provides additional security for the developer in that files cannot be modified in those respects after distribution

    If you are interested in knowing more, see my web article and example app:
    This article explains how to use the new VBA project signing feature in Access. It also compares the use of this feature with using trusted locations when distributing your Access applications


    I've also done a YouTube video to accompany this article


    Hope these are useful to others
  • isladogs
    Recognized Expert Moderator Contributor
    • Jul 2007
    • 483

    #2
    The VBA project signing feature was released to all 365 current channel users with the version 2212 update on Wed 4 Jan 2023.

    I've updated my VBA Project Signing web page today and the YouTube video is available at https://www.youtube.com/watch?v=c5rnlcafBjM

    For more details, see the MS Help article Show trust by adding a digital signature
    Last edited by isladogs; Jan 7 '23, 01:15 PM.

    Comment

    Working...