Hello,
I am new to Tek-Tips. I did do a serach and I hope I am not treading old ground too much.
I have some questions on VBA passwords. There are several tools to recover lost passwords for VBA modules (I am particularly interested in Excel/VBA). For older versions, the password can be recovered. For newer versions of office (post 97 I think), apart from brute force, there is a backdoor way of removing passwords from VBA modules. I have found at least 5 tools to do that.
My questions are:
1) Can someone explain the longhand way in which passwords are removed entirely?
2) How can one protect a VBA module against the above. Presumably, it requires something a bit special. I have read somewhere a suggestions that the code should be compiled in VB, not VBA. At least, this would require a decompiler before the secuirty is breached. Has anyone done this? How is it done in practice? Can you think of other ways to protect modules better?
Thank you very much for your answers.
Chris
I am new to Tek-Tips. I did do a serach and I hope I am not treading old ground too much.
I have some questions on VBA passwords. There are several tools to recover lost passwords for VBA modules (I am particularly interested in Excel/VBA). For older versions, the password can be recovered. For newer versions of office (post 97 I think), apart from brute force, there is a backdoor way of removing passwords from VBA modules. I have found at least 5 tools to do that.
My questions are:
1) Can someone explain the longhand way in which passwords are removed entirely?
2) How can one protect a VBA module against the above. Presumably, it requires something a bit special. I have read somewhere a suggestions that the code should be compiled in VB, not VBA. At least, this would require a decompiler before the secuirty is breached. Has anyone done this? How is it done in practice? Can you think of other ways to protect modules better?
Thank you very much for your answers.
Chris