How can I lock a file in .net so that only my app can access it?
See the question and my original answer on StackOverflowYou could encrypt the file and embed the key within your application. It depends on what you mean by "only my app can open it for others".