Results 1 to 3 of 3

Thread: Macro/XLA's - Strong security for Macros/XLA's

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Location
    NZ
    Posts
    178

    Question Macro/XLA's - Strong security for Macros/XLA's

    Hi there.

    I want some advice on how to VERY securely password protect Macro's and XLA's.

    The normal VBA protection & XLS protection is very weak and I know several ways around the normal protection options.

    However addins that I have purchased or come with manuals are VERY securely protected and as my knowledge is extremely limited in this area I would like to know howto do this or where do I find info on this.

    I have searched & googled but just throws up so many mismatches.

    Thanks.
    Lionel DownUnda (NZ)
    XP Prof SP3, Office 2002 SP3
    If the universe is expanding what is it expanding into?

  2. #2
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Macro/XLA's - Strong security for Macros/XLA's

    Hi lionelnz

    No they are not securely password protected. At least I haven't seen one of them. If you ask me, I would say that VBA protection unfortunately (be it 2003 or 2007) can be easily hacked...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  3. #3
    Head Hunted anhn's Avatar
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    3,669

    Re: Macro/XLA's - Strong security for Macros/XLA's

    The security implemented by password protecting a VBA Project is extremely weak. Password breakers are widely available. ... You should think of the password protection as a means to prevent an innocent user from mistakenly breaking something in the code. The security is not strong enough to protect proprietary code or code with intellectual property value. If you need that level of protection, you should be using a COM Add-In, not an XLA Add-In.
    COM Add-In can be created using Visual Basic 6 (not VBA).
    • Don't forget to use [CODE]your code here[/CODE] when posting code
    • If your question was answered please use Thread Tools to mark your thread [RESOLVED]
    • Don't forget to RATE helpful posts

    • Baby Steps a guided tour
    • IsDigits() and IsNumber() functions • Wichmann-Hill Random() function • >> and << functions for VB • CopyFileByChunk

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width