473,395 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Checking for fraud

My question has to do with checking whether someone is fraudulently messing
about with data.
*********************************************

Given a field, say fieldString
I want to add a character
fieldString += invisibleCharacter;
I want to do that when data in any record is changed by the user
I don't want invisibleCharacter to display on the screen but I do want to
be able to check if invisibleCharacter is present in fieldString: what
character could invisibleCharacter be? (I need about four different
characters to indicate what has been changed.)

There is no spare room in the record to add a digit. Also the application is
up and running.

Patrick.


Nov 15 '05 #1
4 1123
When you say "record", where exactly is this record being stored?
Rule #1 in Rob's data rulebook - NEVER use one peice of data to mean two
completely different things.
If you want an audit, checksum, or hash field, mysuggestion is create a
seperate field.

-Rob Teixeira [MVP]

"Patrick De Ridder" <wn********@all.here> wrote in message
news:10***************@evisp-news-01.ops.asmr-01.energis-idc.net...
My question has to do with checking whether someone is fraudulently messing about with data.
*********************************************

Given a field, say fieldString
I want to add a character
fieldString += invisibleCharacter;
I want to do that when data in any record is changed by the user
I don't want invisibleCharacter to display on the screen but I do want to
be able to check if invisibleCharacter is present in fieldString: what
character could invisibleCharacter be? (I need about four different
characters to indicate what has been changed.)

There is no spare room in the record to add a digit. Also the application is up and running.

Patrick.


Nov 15 '05 #2
Hi Rob,

Thank you. That obviously makes total sense. I need
another field, which I cannot conjure up because the
application is running with data and I cannot change
the record lay-out any more. I will look for a different
solution.

Patrick.

"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
news:e2**************@TK2MSFTNGP11.phx.gbl...
<snip>
Rule #1 in Rob's data rulebook - NEVER use one peice of data to mean two
completely different things.
<snip>

Nov 15 '05 #3
>
"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
news:e2**************@TK2MSFTNGP11.phx.gbl...


Apologies for asking: what does MVP mean?

Patrick.
Nov 15 '05 #4
Patrick De Ridder <wn********@all.here> wrote:
"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
news:e2**************@TK2MSFTNGP11.phx.gbl...


Apologies for asking: what does MVP mean?


It's Microsoft's "Most Valuable Professional" program. See
http://mvp.support.microsoft.com for more information. (Admittedly that
site doesn't seem to be working at the moment, but I'm sure it will be
in a bit.)

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Web Developer | last post by:
Hi, I come across the term "type checking" very often in my readings on C++, and have never heard it in Java. Besides the simplistic answer that it checks the "type", what more does it mean? ...
22
by: Qopit | last post by:
Hi there, I'm pretty new to Python and am trying to figure out how to get "will this code compile?"-like code checking. To me this is a pretty basic language/environment requirement, especially...
6
by: Arun | last post by:
We have a Voting Poll system on our website where any site visitor can vote. we want to make sure that he does not cheat by submitting his vote multiple time or in any others ways. We...
4
by: Patient Guy | last post by:
Does anyone have any coding rules they follow when doing argument checking? When arguments fail during check, do you return from the call with an ambiguous return value, or do you throw...
16
by: lawrence k | last post by:
I've made it habit to check all returns in my code, and usually, on most projects, I'll have an error function that reports error messages to some central location. I recently worked on a project...
125
by: jacob navia | last post by:
We hear very often in this discussion group that bounds checking, or safety tests are too expensive to be used in C. Several researchers of UCSD have published an interesting paper about this...
7
by: polas | last post by:
Afternoon everyone. I have a quick question about standard C. Generally speaking, in my experience, whenever one accesses an array there is never any bounds checking done (either statically...
4
by: BillE | last post by:
I have found articles on line about using word interop for spell checking with visual studio applications. Most of the articles are several years old, though - VS2003, maybe 2005. I couldn't...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.