

This behavior occurs because in Windows XP Home Edition and Windows XP Professional, guests are forced to log on to a workgroup. In Windows XP Home Edition and Windows XP Professional, if working in a workgroup, the Security tab is hidden by default. If you're on a domain, the domain administrators will always be able to view/edit any of your files. You can click Advanced and set even more specific options. Select the Security tab and then you can set specific permissions on a file. On Windows XP (Vista is similar) Right-click on the file and view Properties. You should be able to take ownership of a file, and then set the permissions so that you're the only one that can access that file. 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Īre you on a Windows domain, or just a workgroup? What version of Windows is this? Are you an administrator of the computer? Right.īut what about if my program shutdown, I don't want the file to be changed in this case also. I want something like that, for this file it seems because Windows is using it. When I try to open this file it doesn't open. 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 '' in the user profile. I have a file that I want to protect from bein modified.ĭon'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). Update 1: I found the following article, 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 Update 2: Found how to display the security tab Hint - I noticed this feature in Windows, right click and use 'Execute as', enter the administrator password and then you can access the file. Now looking to do it programatically (using Visual C#) and also how to access a file using administrator account in a simple user account. Update 3: the restrict access, using the security tab works now.
