Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Open Excel 2007 .xlsm doc, but not allow user to copy it?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default Open Excel 2007 .xlsm doc, but not allow user to copy it?

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
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
how do I open a .xlsm file in Excel 2002? frankc Excel Discussion (Misc queries) 3 June 26th 09 09:27 PM
Excel 2007 Save as .xlsm Anne Schouten Excel Programming 3 March 26th 09 05:44 PM
Excel 2007 Save As xlsm by default Zarch Excel Programming 1 October 29th 07 03:46 PM
Copy Data from Excel 2007 XLSM workbook to Excel 2003 XLS workbook using ADO Andy Excel Programming 2 July 27th 07 10:44 PM
How can excel 2000 users open a 2007 .xlsm workbook Russ Excel Worksheet Functions 1 July 5th 07 08:53 PM


All times are GMT +1. The time now is 07:26 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"