Click here to Skip to main content
15,908,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Text Control Pin
alex.barylski7-Oct-03 9:29
alex.barylski7-Oct-03 9:29 
GeneralCListCtrl problem Pin
jgauffin7-Oct-03 3:51
jgauffin7-Oct-03 3:51 
GeneralRe: CListCtrl problem Pin
David Crow7-Oct-03 4:00
David Crow7-Oct-03 4:00 
GeneralRe: CListCtrl problem Pin
jgauffin7-Oct-03 4:22
jgauffin7-Oct-03 4:22 
GeneralRe: CListCtrl problem Pin
vcplusplus7-Oct-03 5:11
vcplusplus7-Oct-03 5:11 
QuestionA safe system place for confidental data? Pin
Osborn7-Oct-03 3:43
Osborn7-Oct-03 3:43 
AnswerRe: A safe system place for confidental data? Pin
David Crow7-Oct-03 4:17
David Crow7-Oct-03 4:17 
AnswerRe: A safe system place for confidental data? Pin
Terry O'Nolley7-Oct-03 4:23
Terry O'Nolley7-Oct-03 4:23 
Most Sharewares use a combination of self-modifying code, the registry, and hidden files they stick in your system directory.

To know for sure what software is doing to your file system you need to be running a utility that monitors and reports on all disk activity.

You might think about using steganography throughout the encrypted file itself to store data about how many times that file has been attacked. Using this method will prevent the file from being copied and/or renamed and starting all over.

Maybe define a table at the beginning of each encrypted file that contains byte offsets for which data bits of which bytes contain not encrypted data but rather the number of attempts used to open that file:

struct steg_table
{
int nByteOffsets[NUM_STEG_BYTES];
int nStegBitNumbers[NUM_STEG_BYTES];
int nActualBitData[NUM_STEG_BYTES];
};

So maybe the nByteOffsets array might look like 68, 155, 366, 1204, 1344, 2265, 4976, 6512
and the nStegBitNumbers might be 1, 1, 2, 4, 6, 2, 3, 3
and the nActualBitData might be 0, 0, 1, 0, 1, 1, 0, 1

Meaning that the 1st bit of the 68th byte would actually act as the first bit of the count for how many times that file has been attacked.

The actual value for that bit would be stored as the first element of the nActualBitData array.


But this only works if the person doing the attacking is using your program!

There is no way to prevent a brute force attack on your data files themselves.








GeneralRe: A safe system place for confidental data? Pin
Osborn7-Oct-03 7:36
Osborn7-Oct-03 7:36 
AnswerRe: A safe system place for confidental data? Pin
JWood7-Oct-03 9:13
JWood7-Oct-03 9:13 
GeneralWeb browser control Pin
Anthony98877-Oct-03 3:33
Anthony98877-Oct-03 3:33 
QuestionMoveFileEx not always working? Pin
Kayembi7-Oct-03 3:20
Kayembi7-Oct-03 3:20 
AnswerRe: MoveFileEx not always working? Pin
David Crow7-Oct-03 3:55
David Crow7-Oct-03 3:55 
GeneralRe: MoveFileEx not always working? Pin
Kayembi7-Oct-03 6:02
Kayembi7-Oct-03 6:02 
GeneralRe: MoveFileEx not always working? Pin
David Crow7-Oct-03 6:15
David Crow7-Oct-03 6:15 
GeneralProgramm needs VC++ to run Pin
DarkMarine7-Oct-03 3:20
DarkMarine7-Oct-03 3:20 
GeneralRe: Programm needs VC++ to run Pin
vcplusplus7-Oct-03 3:48
vcplusplus7-Oct-03 3:48 
GeneralRe: Programm needs VC++ to run Pin
DarkMarine7-Oct-03 7:26
DarkMarine7-Oct-03 7:26 
GeneralRe: Programm needs VC++ to run Pin
vcplusplus7-Oct-03 7:55
vcplusplus7-Oct-03 7:55 
GeneralRe: Programm needs VC++ to run Pin
DarkMarine7-Oct-03 8:05
DarkMarine7-Oct-03 8:05 
GeneralRe: Programm needs VC++ to run Pin
vcplusplus7-Oct-03 9:29
vcplusplus7-Oct-03 9:29 
GeneralRe: Programm needs VC++ to run Pin
DarkMarine9-Oct-03 10:28
DarkMarine9-Oct-03 10:28 
GeneralRe: Programm needs VC++ to run Pin
Terry O'Nolley7-Oct-03 3:50
Terry O'Nolley7-Oct-03 3:50 
GeneralRe: Programm needs VC++ to run Pin
Stefan Pedersen7-Oct-03 3:51
Stefan Pedersen7-Oct-03 3:51 
Generalhelp with List box Pin
NewHSKid7-Oct-03 2:58
NewHSKid7-Oct-03 2:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.