Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default Breaking Internal Passwords

I posted a new question recently about security and the answer received was
that internal passwords can be bypassed and changed, look at website:

http://www.mcgimpsey.com/excel/removepwords.html

Now my question is : What if the excel file, I will call it File01.xls has
the VBA password protected and the user cannot get to that files VBA to run
the macro. Would they be able to run the macro from say File02.xls and
either return the passwords or change the passwords on the Sheet Protect and
Workbook Protect on File01.xls?

Thank you,

Steven
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Breaking Internal Passwords

You can run macros if the VBA Project is password protected. If there are
errors in the code, it won't highlight the lines that are in error. They
can run the code, they just can't see it.
--
HTH,
Barb Reinhardt



"Steven" wrote:

I posted a new question recently about security and the answer received was
that internal passwords can be bypassed and changed, look at website:

http://www.mcgimpsey.com/excel/removepwords.html

Now my question is : What if the excel file, I will call it File01.xls has
the VBA password protected and the user cannot get to that files VBA to run
the macro. Would they be able to run the macro from say File02.xls and
either return the passwords or change the passwords on the Sheet Protect and
Workbook Protect on File01.xls?

Thank you,

Steven

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Breaking Internal Passwords

Suffice it to say that anything you want to try to do to protect info stored
in XL can be hacked... You can make it more difficult but if someone really
wants in they can get in... XL is not secure. XL security is like loking the
doors on your car. A good habit to get into but don't get the idea that your
car is safe...

The closest to secure that I have ever gotten was to store all of the
confidential data in a database that was password protected. I used a
spreadsheet for the front end. Confidential info was stored in userforms and
not sheets so that when the spreadsheet was closed the data was lost.

VBA and File passwords are reasonably strong. Workbook and worksheet
passwords are weak.
--
HTH...

Jim Thomlinson


"Steven" wrote:

I posted a new question recently about security and the answer received was
that internal passwords can be bypassed and changed, look at website:

http://www.mcgimpsey.com/excel/removepwords.html

Now my question is : What if the excel file, I will call it File01.xls has
the VBA password protected and the user cannot get to that files VBA to run
the macro. Would they be able to run the macro from say File02.xls and
either return the passwords or change the passwords on the Sheet Protect and
Workbook Protect on File01.xls?

Thank you,

Steven

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default Breaking Internal Passwords

Jim,

Thank you for your repsonse. I was thinking you would say something like
that. That means that our IT department has to setup proper security to
directories so only the people who need access can gain access. I just
mention that because our company has been weak in that area.

Question. When you say in a database, are you saying like access? I have
written access programs and excel macros but have not ever used excel as a
front end to an access database.

Thanks,

Steven

"Jim Thomlinson" wrote:

Suffice it to say that anything you want to try to do to protect info stored
in XL can be hacked... You can make it more difficult but if someone really
wants in they can get in... XL is not secure. XL security is like loking the
doors on your car. A good habit to get into but don't get the idea that your
car is safe...

The closest to secure that I have ever gotten was to store all of the
confidential data in a database that was password protected. I used a
spreadsheet for the front end. Confidential info was stored in userforms and
not sheets so that when the spreadsheet was closed the data was lost.

VBA and File passwords are reasonably strong. Workbook and worksheet
passwords are weak.
--
HTH...

Jim Thomlinson


"Steven" wrote:

I posted a new question recently about security and the answer received was
that internal passwords can be bypassed and changed, look at website:

http://www.mcgimpsey.com/excel/removepwords.html

Now my question is : What if the excel file, I will call it File01.xls has
the VBA password protected and the user cannot get to that files VBA to run
the macro. Would they be able to run the macro from say File02.xls and
either return the passwords or change the passwords on the Sheet Protect and
Workbook Protect on File01.xls?

Thank you,

Steven

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Breaking Internal Passwords

Yep.

JE's code was written to work on the activesheet/activeworkbook.

In fact, lots of people create common utilities that they want to run against
any worksheet in any workbook. Instead of having those utilities in each
workbook, they create a single workbook and run the macros from there.

If you want to try, you can put the code in file02.xls and then make sure
file01.xls is the active workbook.

Then hit alt-f8 (or tools|macro|macros) and select the macro and run it.

Steven wrote:

I posted a new question recently about security and the answer received was
that internal passwords can be bypassed and changed, look at website:

http://www.mcgimpsey.com/excel/removepwords.html

Now my question is : What if the excel file, I will call it File01.xls has
the VBA password protected and the user cannot get to that files VBA to run
the macro. Would they be able to run the macro from say File02.xls and
either return the passwords or change the passwords on the Sheet Protect and
Workbook Protect on File01.xls?

Thank you,

Steven


--

Dave Peterson
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
Internal Links Sean Excel Discussion (Misc queries) 2 February 6th 07 12:12 PM
Internal links not working... [email protected] Excel Discussion (Misc queries) 3 December 29th 06 07:27 PM
Querying Internal Data Dial222 Excel Discussion (Misc queries) 0 November 10th 06 10:25 AM
Excel internal passwords Mike Excel Discussion (Misc queries) 1 November 2nd 06 02:24 PM
Internal links Job Excel Programming 4 October 26th 05 07:33 PM


All times are GMT +1. The time now is 10:40 AM.

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"