Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for the input Tushar,
You have validated what I read. I can guess the answer to this is no, but I'll ask anyway. If I have an application that I'm trying to sell, to send someone a 'demo' version, is there a way to send only the compiled code? If they buy the application, then I have no problem sending the source. I'd rather not send the source and 'trust' a prospect not to keep a copy. Thanks again, Neal "Tushar Mehta" wrote: If you want to share the code, no, there's not much you can do to protect the password. Short of a asymmetric key algorithm any key you use can be trivially decoded by reading the code. Actually, even if the code is protected, unless one takes special precautions, it is relatively easy finding passwords. And, all this ignores the fact that in the first place XL/VBA password protection is far from secure. -- Regards, Tushar Mehta www.tushar-mehta.com Excel, PowerPoint, and VBA add-ins, tutorials Custom MS Office productivity solutions In article , says... I've read a lot of the posts here passwording. and have a feel for what can and cannot be done. I'm relatively new to VBA coding, but have a need to password protect a worksheet in the VB code. I don't really want to 'hide' the code from view. I suppose I can construct a routine that concatenates a bunch of characters into a password and use it. Any tips out there on another technique to keep a 'casual' user from just looking at the code to pickup the password? Thanks. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, if you don't mind, should this come into being, I'll contact you via
your website. Thanks again, Neal "Tushar Mehta" wrote: To send compiled code you would have to use VB (or some other language). Within the Office environment, you could create a COM add-in. This requires you have either VB or the Office XP Developers edition. -- Regards, Tushar Mehta www.tushar-mehta.com Multi-disciplinary business expertise + Technology skills = Optimal solution to your business problem Recipient Microsoft MVP award 2000-2005 In article , says... Thanks for the input Tushar, You have validated what I read. I can guess the answer to this is no, but I'll ask anyway. If I have an application that I'm trying to sell, to send someone a 'demo' version, is there a way to send only the compiled code? If they buy the application, then I have no problem sending the source. I'd rather not send the source and 'trust' a prospect not to keep a copy. Thanks again, Neal "Tushar Mehta" wrote: If you want to share the code, no, there's not much you can do to protect the password. Short of a asymmetric key algorithm any key you use can be trivially decoded by reading the code. Actually, even if the code is protected, unless one takes special precautions, it is relatively easy finding passwords. And, all this ignores the fact that in the first place XL/VBA password protection is far from secure. -- Regards, Tushar Mehta www.tushar-mehta.com Excel, PowerPoint, and VBA add-ins, tutorials Custom MS Office productivity solutions In article , says... I've read a lot of the posts here passwording. and have a feel for what can and cannot be done. I'm relatively new to VBA coding, but have a need to password protect a worksheet in the VB code. I don't really want to 'hide' the code from view. I suppose I can construct a routine that concatenates a bunch of characters into a password and use it. Any tips out there on another technique to keep a 'casual' user from just looking at the code to pickup the password? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
hide column with password | Excel Discussion (Misc queries) | |||
how to hide raws and use password | Excel Discussion (Misc queries) | |||
How do I hide a worksheet in Excel and use a password to un-hide . | Excel Discussion (Misc queries) | |||
Hide password in the InputBox | Excel Programming | |||
Excel password but cant hide the sheets before entering password | Excel Programming |