juanalvaro
March 26th, 2007, 10:31 AM
Hello,
i'm still working on my IT degree so please excuse my ignorance.
I'm working in an application that will store encrypted files in a folder. Though the files are encrypted, I would like to prevent anyone from having access to the folder, even seeing what it contains and of course, deleting it. The only way of entering the folder should be being one of the valid users of the application, this is, starting the program and entering a password. When the program is closed, the folder should be locked again.
Is there any way of doing it? I'm working with C#, though any other .net technology would be welcome. I have been reading documentation at msdn, mainly the System.Security.Permissions namespace. Maybe one way could be removing ALL permissions to ALL users permanently, and give permission to the Windows account which has started the application. After closing it, all permissions should be removed again.
Any help, please?
i'm still working on my IT degree so please excuse my ignorance.
I'm working in an application that will store encrypted files in a folder. Though the files are encrypted, I would like to prevent anyone from having access to the folder, even seeing what it contains and of course, deleting it. The only way of entering the folder should be being one of the valid users of the application, this is, starting the program and entering a password. When the program is closed, the folder should be locked again.
Is there any way of doing it? I'm working with C#, though any other .net technology would be welcome. I have been reading documentation at msdn, mainly the System.Security.Permissions namespace. Maybe one way could be removing ALL permissions to ALL users permanently, and give permission to the Windows account which has started the application. After closing it, all permissions should be removed again.
Any help, please?