-
April 23rd, 2010, 09:03 AM
#1
Restricting User to Access Text File
Hello all,
I am having third party exe for which i don,t have source code which is taking one text file as input. i want create one more win32 application which creates this input file. for third party exe
My question is how to prevent the user from seeing the contents of the input file. i want my newly created win32 app and third party exe only have full access to the input file. i want to prevent the user from viewing the contents of the file.
please let me know. how to go about it.
Thanks in advance.
-
April 23rd, 2010, 09:26 AM
#2
Re: Restricting User to Access Text File
Only way I can think of to lock down the file is encryption, however this leaves the problem that the 3rd party app wont understand the encrypted file. Its possible you can use dll injection to allow the 3rd party app to decrypt the file. I'm not sure if it will work as i haven't much experience of dll injection but it might be worth looking into.
Get Microsoft Visual C++ Express here or CodeBlocks here.
Get STLFilt here to radically improve error messages when using the STL.
Get these two can't live without C++ libraries, BOOST here and Loki here.
Check your code with the Comeau Compiler and FlexeLint for standards compliance and some subtle errors.
Always use [code] code tags [/code] to make code legible and preserve indentation.
Do not ask for help writing destructive software such as viruses, gamehacks, keyloggers and the suchlike.
-
April 26th, 2010, 07:13 AM
#3
Re: Restricting User to Access Text File
do u have any idea on applying security descriptors on text file. so that permission can only be given to the third party exe and my exe to access the file
-
April 26th, 2010, 08:42 PM
#4
Re: Restricting User to Access Text File
What does this have to do with multithreading?
-
April 27th, 2010, 12:18 AM
#5
Re: Restricting User to Access Text File
ok i will post under vc++ programming....
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|