If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Protect My Excel File from Beeing Copied

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-20-04, 17:42
wahoud wahoud is offline
Registered User
 
Join Date: Jun 2004
Posts: 27
Cool Protect My Excel File from Beeing Copied

Hi
Is There, Is There A Way To Protect My Excel File From Beeing Copied To An Unauthorised Computer
Thank You
Reply With Quote
  #2 (permalink)  
Old 06-21-04, 09:13
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Short answer is no - from Excel's resources. All of Excel's protection is rudimentary, and copying data from a locked/protected sheet can always be copied.

If you want to prevent someone from opening the spreadsheet, that can be done, and provides more protection (but they won't see the spreadsheet, either) than just locking the spreadsheet.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old 06-21-04, 09:24
TerpInMD TerpInMD is offline
Registered User
 
Join Date: Jun 2004
Location: Terrapin Nation
Posts: 205
Actually, the answer is yes. You can assign persmisions to the NT folder the file is in.
Reply With Quote
  #4 (permalink)  
Old 06-21-04, 10:37
DavidCoutts DavidCoutts is offline
Registered User
 
Join Date: Jan 2004
Location: Aberdeen, Scotland
Posts: 1,067
I Know three ways of making this more difficult for someone

Using the Before RightClick Event
Setting Cancel to True (This Disallows the Context Menu to Pop Up)

You Could set the toolbars to be disabled
Code:
   For Each cmd In Application.CommandBars
            cmd.Enabled = False
    Next cmd
Set this in the Workbook Activate (Remeber to Enable some After the Workbook is deactivated)

you then need to stop people who know the Keyboard copy command

with the Application.onKey "^c" , "Procedurename" you can stop the control + C copy Method again remember to switch this off before you leave the workbook

you can also stop saving from file by using the
Workbook_BeforeSave Event

all these make saving and copying data more of a problem and will stop most people from copying or saving, but if you know what you are doing there are easy ways to crack the security in Excel and these procedures will not protect you against that.

Hope This Helps

David
Reply With Quote
  #5 (permalink)  
Old 06-22-04, 11:40
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Quote:
Originally Posted by DavidCoutts

all these make saving and copying data more of a problem and will stop most people from copying or saving, but if you know what you are doing there are easy ways to crack the security in Excel and these procedures will not protect you against that.
Yep, and that was my point in the original post. But for 98% of users of Excel, these would be more than sufficient.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #6 (permalink)  
Old 06-22-04, 11:59
DavidCoutts DavidCoutts is offline
Registered User
 
Join Date: Jan 2004
Location: Aberdeen, Scotland
Posts: 1,067
Hi Shades,

I thought i was had to reiterate your point because i felt it was the most important point, but some security measures is better than none at all although all i suggested was to stop someone copying data or saving from within Excel itself which is definatley not a complete soloution, even with these measures in place it is still easy to get the data out.
Reply With Quote
  #7 (permalink)  
Old 06-22-04, 14:57
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Quote:
Originally Posted by DavidCoutts
Hi Shades,

I thought i was had to reiterate your point because i felt it was the most important point, but some security measures is better than none at all although all i suggested was to stop someone copying data or saving from within Excel itself which is definatley not a complete soloution, even with these measures in place it is still easy to get the data out.
By all means. You were more thorough than I, which is good. I think we can't emphasize enough that "protection" in Excel is a relative thing. We fool ourselves if we think we can prevent true intrustion into an Excel file. But your laying out of the methods to foil the would-be transgressor is extremely valuable.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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