#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Any ideas


I have users entering data onto a page, at the end of the page, the page is
password protected to prevent changes. The file needs to be with the user to
view data.

Being a real paranoid ! I want to be able to detect if someone has altered
the data by hacking the password for example.

What i want to do is at the bottom of the page print a certain value which
is directly dependent on the data on the page. E.g No of Characters, No of
vowles, No of bytes of data or something else (unknown to the user), So if
someone was to manipulate the data it can be detected by cross checking
against this value.

Hope i make sense.

Any Sherlock Holmes out there

Sunil



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 395
Default Any ideas


A few thoughts, but no solutions- maybe this will help you think of something.

In workbooks where I need to track activity (and where macros have to be
enabled for the workbook to function properly) I hide a worksheet and every
time the workbook is opened, I save the date/time and the UserID of the
person who opened the file. My workbook is too complex to try to track/save
what was changed, but at least I can track backwards and know who used the
workbook.

If you also set up the workbook_close to save the date/time it was closed,
you could check to see if the workbook had been altered while macros were
disabled; check the value of the last saved date/time document property and
compare that against the one you have saved in the workbook; if the workbook
property is newer than the saved value, then someone modified the workbook
without macros enabled. (they won't always be equal, because someone might go
into the workbook and exit without saving- so just look for a newer value)

If you wanted to calculate a basic checksum (number of characters,
whatever), you could (also using a macro, which requires that macros be
enabled) push your value to a custom document property. Then (also requiring
macros) if the value you calculate when opening the document doesn't match
the expected value (from your custom document property) you could alert the
user. Be careful about using logic that prevents the file from opening if the
values don't match, because testing it will be a pain if you keep locking
yourself out of the file.

If you use Sharepoint, it automatically stores old versions of the workbook
and you can track problems backward and (manually) see exactly what changes
were made between each saved copy, and who saved each copy.

HTH,
Keith

"sunilpatel" wrote:

I have users entering data onto a page, at the end of the page, the page is
password protected to prevent changes. The file needs to be with the user to
view data.

Being a real paranoid ! I want to be able to detect if someone has altered
the data by hacking the password for example.

What i want to do is at the bottom of the page print a certain value which
is directly dependent on the data on the page. E.g No of Characters, No of
vowles, No of bytes of data or something else (unknown to the user), So if
someone was to manipulate the data it can be detected by cross checking
against this value.

Hope i make sense.

Any Sherlock Holmes out there

Sunil




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
Any ideas sunilpatel Excel Programming 2 July 6th 09 03:19 PM
any ideas? rosysnozzy Excel Programming 7 May 17th 07 01:55 PM
Some ideas John21[_13_] Excel Programming 0 August 21st 06 06:31 PM
Any ideas? Steph[_3_] Excel Programming 0 May 25th 04 07:48 PM
Any ideas? Steph[_3_] Excel Programming 1 May 25th 04 07:41 PM


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