Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hiding a data file from users Pin
Hamid_RT5-May-06 19:40
Hamid_RT5-May-06 19:40 
GeneralRe: Hiding a data file from users Pin
Maxwell Chen5-May-06 20:00
Maxwell Chen5-May-06 20:00 
GeneralRe: Hiding a data file from users Pin
Hamid_RT5-May-06 20:12
Hamid_RT5-May-06 20:12 
GeneralRe: Hiding a data file from users Pin
Maxwell Chen5-May-06 20:16
Maxwell Chen5-May-06 20:16 
AnswerRe: Hiding a data file from users Pin
led mike5-May-06 20:55
led mike5-May-06 20:55 
GeneralRe: Hiding a data file from users Pin
Phil C5-May-06 21:43
Phil C5-May-06 21:43 
GeneralRe: Hiding a data file from users Pin
chasetoys5-May-06 22:19
chasetoys5-May-06 22:19 
AnswerRe: Hiding a data file from users Pin
Maxwell Chen5-May-06 22:30
Maxwell Chen5-May-06 22:30 
chasetoys wrote:
1) Would you advocate combining methods both A & B?


It's by design. Feel free to use what you prefer.

chasetoys wrote:
2) Would you just replace the tampered file with the one you have in the Windows directory?


Please elaborate more detail. Not really understand what you mean.

chasetoys wrote:
3) Does Windows allow you to use the WriteFile API to write in the Windows directory? I tried to do that once but couldn't... i.e. where would you put the bacakup file, and are you sure Windows lets you do that?


A) It may be the privilege issue. The program is run as the role of "User" instead of "Administrator".

B) Or maybe you did something wrong. Show us your code snipet about creating / writing files.

chasetoys wrote:
4) Is there a simple API to encrypt/decrypt an ASCII text file?


Yes, there are some algorithms for this job, for example: DES, 3DES, AES, RSA, BlowFish, SawFish, etc. You can find those source code of the algorithms by Googling.


Maxwell Chen
GeneralRe: Hiding a data file from users Pin
Phil C6-May-06 6:45
Phil C6-May-06 6:45 
AnswerRe: Hiding a data file from users Pin
cmk6-May-06 7:45
cmk6-May-06 7:45 
QuestionGraphical Popup Dialog Pin
Mani.M5-May-06 8:08
Mani.M5-May-06 8:08 
AnswerRe: Graphical Popup Dialog Pin
Cedric Moonen5-May-06 8:31
Cedric Moonen5-May-06 8:31 
QuestionBits of a Bitmap Pin
torNAdE5-May-06 6:51
torNAdE5-May-06 6:51 
AnswerRe: Bits of a Bitmap Pin
Chris Losinger5-May-06 8:20
professionalChris Losinger5-May-06 8:20 
AnswerRe: Bits of a Bitmap Pin
Hamid_RT5-May-06 21:04
Hamid_RT5-May-06 21:04 
QuestionLinker Error_ URGENT Pin
ThiagoFragoso5-May-06 6:23
ThiagoFragoso5-May-06 6:23 
AnswerRe: Linker Error_ URGENT Pin
led mike5-May-06 6:27
led mike5-May-06 6:27 
GeneralRe: Linker Error_ URGENT Pin
ThiagoFragoso5-May-06 6:58
ThiagoFragoso5-May-06 6:58 
GeneralRe: Linker Error_ URGENT Pin
led mike5-May-06 8:05
led mike5-May-06 8:05 
GeneralRe: Linker Error_ URGENT Pin
David Crow5-May-06 8:18
David Crow5-May-06 8:18 
GeneralRe: Linker Error_ URGENT Pin
Jörgen Sigvardsson5-May-06 10:58
Jörgen Sigvardsson5-May-06 10:58 
AnswerRe: Linker Error_ URGENT Pin
Michał Zalewski5-May-06 6:54
Michał Zalewski5-May-06 6:54 
GeneralRe: Linker Error_ URGENT Pin
ThiagoFragoso5-May-06 10:22
ThiagoFragoso5-May-06 10:22 
QuestionHelp Thread & GetForegroundWindow Pin
Alksindrs5-May-06 6:00
Alksindrs5-May-06 6:00 
AnswerRe: Help Thread & GetForegroundWindow Pin
led mike5-May-06 6:23
led mike5-May-06 6:23 

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.