Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I prevent a user from copying a Excel2007 Workbook.xlsm the user has
rights to open and run? "CrownJewels.xlsm" is an Excel Workbook with VBA for Oracle read-write code and lots of VBA user functions. Users in the company need to read data from the database, process estimates of assets and opportunities, have those inputs and outputs saved to the Database. CrownJewels is fully protected: Passwords on the VBA Project, Worksheets, Workbook, some worksheets Hidden, some VeryHidden. I even have a Workbook_BeforeSave event to capture and cancel any attempt to Save or SaveAs the workbook to another filename. (Anything I missed?) But how do you prevent a user from copying the windows file €œCrownJewels.xlsm€ to a USB, taking it home and attempting to crack the contents and passwords of the workbook? We cannot put CJ on SharePoint --- Excel Web wont execute VBA or queries. Will a Windows NTFS security setting €œRead & Execute€ on a .xlsm file prevent a windows Copy operation? I have my doubts. The most secure thing I can think of is to store €œCrownJewels.xlsm€ into some deep dark recess of the server along path: \\ss1\a\b\c\d\e\CrownJewels.xlsm, apply read & Execute to the to the file and a large piece of the path. Then NOT publish its location. Instead, I have a simple workbook KeyMaster.xlsm, fully protected, but in an advertised server directory. KeyMaster does nothing but open CrownJewels.xlsm via a fullpathspec defined in a protected VBA sub. Thats acceptable, but it lacks finesse. Any other ideas? BTW, do I have to worry about the Excel Autosave as a security hole? Should I disable that when CrownJewels opens? I suspect so. --- Stephen Rasey http://WiserWays.com Houston, TX |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I doubt if any form of an Excel workbook is "safe".
Took a quick look at your website and offer this... led is the past participle of lead (verb) offes ? oporutinty ? -- Jim Cone Portland, Oregon USA "Stephen Rasey" wrote in message ... How do I prevent a user from copying a Excel2007 Workbook.xlsm the user has rights to open and run? -snip- --- Stephen Rasey http://WiserWays.com Houston, TX |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I open a .xlsm file in Excel 2002? | Excel Discussion (Misc queries) | |||
Excel 2007 Save as .xlsm | Excel Programming | |||
Excel 2007 Save As xlsm by default | Excel Programming | |||
Copy Data from Excel 2007 XLSM workbook to Excel 2003 XLS workbook using ADO | Excel Programming | |||
How can excel 2000 users open a 2007 .xlsm workbook | Excel Worksheet Functions |