Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to protect a file in Windows
    text
    copied!<p><strong>Update 3:</strong> the restrict access, using the security tab works now. (that's manually) now looking to do it programatically (using Visual C#) and also how to access a file using administrator account in a simple user account. hint - I noticed this feature in Windows, right click and use 'Execute as', enter the administrator password and then you can access the file.</p> <p><strong>Update 2:</strong> Found how to display the security tab</p> <blockquote> <p>To display the Security tab</p> <p>Open Folder Options in Control Panel. (Click Start, click Control Panel, click Appearance and Themes, and then click Folder Options.)</p> <p>On the View tab, under Advanced settings, clear Use simple file sharing [Recommended].</p> </blockquote> <p><strong>Update 1:</strong> I found the following <a href="http://technet.microsoft.com/en-us/library/bb456977.aspx" rel="nofollow noreferrer">article</a>, which suggests how to give permissions to files, however I don't find the security tab when I click properties, do you have it? Any ideas how to get it</p> <p>I have a file that I want to protect from bein modified. Don't say to me encrypt it, this don't solve the problem, I want that users can't change the file, BUT only me (my program). Is there any type of authentication for Windows files, I know that what I say is stupid about authentication, but some Windows files are inaccessible like 'ntuser.dat.LOG' in the user profile. When I try to open this file it doesn't open.</p> <p>I want something like that, for this file it seems because Windows is using it. Right. But what about if my program shutdown, I don't want the file to be changed in this case also. How shall i do?</p> <p>I don't ask for the complete detailed solution, I want ideas, suggestions, tips, or any thing you know that it'll help, as it seems to be complicated :p</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload