Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
leo leo is offline
external usenet poster
 
Posts: 74
Default Securing codes by corrupting the file (Leo Asked)

Hi Expert(s)
I have heard just enough that how easily Password Removers tools can get in
to VBE and our modules are not really secure even when password protected
against theft.
I do not know much about programming VBE objects , but the question is ;
Is there anyway at all that if a user could enter VBE without a password ,
we delete modules before to be read by the burgler?
some considered ideas are;
on VBEopen event if user="Me" then VBEProject.delete ,
if VBEproject.unprocted then VBEProject.delete ,
or if Password < "MyOwnPassword" then VBEProject.delete

I once wrote a code that if the user was not my targetted user, the code
could delete the data worksheet, but I can not implement the same for VBE
project.
I appreciate if you would refer me to the right & secure solution!!
--
Thans & Best regards
Leo, InfoSeeker
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default Securing codes by corrupting the file (Leo Asked)

Leo,
What if the burglar disables macros before opening the file?
--
Jim Cone
Portland, Oregon USA



"Leo"
wrote in message
Hi Expert(s)
I have heard just enough that how easily Password Removers tools can get in
to VBE and our modules are not really secure even when password protected
against theft.
I do not know much about programming VBE objects , but the question is ;
Is there anyway at all that if a user could enter VBE without a password ,
we delete modules before to be read by the burgler?
some considered ideas are;
on VBEopen event if user="Me" then VBEProject.delete ,
if VBEproject.unprocted then VBEProject.delete ,
or if Password < "MyOwnPassword" then VBEProject.delete

I once wrote a code that if the user was not my targetted user, the code
could delete the data worksheet, but I can not implement the same for VBE
project.
I appreciate if you would refer me to the right & secure solution!!
--
Thans & Best regards
Leo, InfoSeeker
  #3   Report Post  
Posted to microsoft.public.excel.programming
leo leo is offline
external usenet poster
 
Posts: 74
Default Securing codes by corrupting the file (Leo Asked)

Hi,
I meant that user should not be able to read codes and even better not use
and run the workbook at all , when he/she could break to my private area.
In result when password revealed by unauthorized user, the file does not
serves its purpose.
--
Thans & Best regards
Leo, InfoSeeker


"Jim Cone" wrote:

Leo,
What if the burglar disables macros before opening the file?
--
Jim Cone
Portland, Oregon USA



"Leo"
wrote in message
Hi Expert(s)
I have heard just enough that how easily Password Removers tools can get in
to VBE and our modules are not really secure even when password protected
against theft.
I do not know much about programming VBE objects , but the question is ;
Is there anyway at all that if a user could enter VBE without a password ,
we delete modules before to be read by the burgler?
some considered ideas are;
on VBEopen event if user="Me" then VBEProject.delete ,
if VBEproject.unprocted then VBEProject.delete ,
or if Password < "MyOwnPassword" then VBEProject.delete

I once wrote a code that if the user was not my targetted user, the code
could delete the data worksheet, but I can not implement the same for VBE
project.
I appreciate if you would refer me to the right & secure solution!!
--
Thans & Best regards
Leo, InfoSeeker

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Securing codes by corrupting the file (Leo Asked)

Dear Leo

VBE do not expose the password submit event OR VBE Activate event to do
this...

If this post helps click Yes
--------------
Jacob Skaria

"Leo" wrote:

Hi Expert(s)
I have heard just enough that how easily Password Removers tools can get in
to VBE and our modules are not really secure even when password protected
against theft.
I do not know much about programming VBE objects , but the question is ;
Is there anyway at all that if a user could enter VBE without a password ,
we delete modules before to be read by the burgler?
some considered ideas are;
on VBEopen event if user="Me" then VBEProject.delete ,
if VBEproject.unprocted then VBEProject.delete ,
or if Password < "MyOwnPassword" then VBEProject.delete

I once wrote a code that if the user was not my targetted user, the code
could delete the data worksheet, but I can not implement the same for VBE
project.
I appreciate if you would refer me to the right & secure solution!!
--
Thans & Best regards
Leo, InfoSeeker

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA corrupting Cell A1 in CSV file Mark Excel Programming 6 November 11th 08 05:11 PM
Choosing no when asked to overwrite an existing file? carl Excel Programming 1 January 5th 08 05:21 PM
enable macros question not being asked when opening file Aussie Ells Excel Discussion (Misc queries) 1 June 7th 07 04:05 AM
Securing Formulas bird007 Excel Discussion (Misc queries) 3 February 16th 07 11:59 PM
I've deleted all macros but still asked when opening file Mark Excel Programming 5 April 20th 05 07:59 PM


All times are GMT +1. The time now is 09:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"