Click to See Complete Forum and Search --> : Restricting User to Access Text File


srishi1302
April 27th, 2010, 12:21 AM
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.

And Also please let me know how to apply security descriptors on a text file that only my exe and third party exe have access to that file. solution to this also serve my purpose.

Thanks in advance.

Igor Vartanov
May 2nd, 2010, 03:19 PM
You might make it piping instead of using a file.

Ajay Vijay
May 9th, 2010, 06:38 AM
Other than pipes, you may also use one of these IPC Primitives (http://msdn.microsoft.com/en-us/library/aa365574(VS.85).aspx)