I login in with Administrator on Vista with UAC turned on, is it OK for me to create, modifty or delete file in ProgramData folder. My test result is YES, but I found my AP can access the folder which name is "MicroSoft", is there any starndard document to know the ProgramData folder's right under Vista?
R – About ProgramData folder’s right with UAC turned on under Vista
programdatauacwindows-vista
Related Topic
- Windows – CreateDesktop() with Vista UAC (C Windows)
- Windows – CreateDesktop() with vista and UAC on (C, windows)
- How to request Administrator access inside a batch file
- How to make your MFC application bypass UAC in windows7 and Vista
- Windows – How to auto-elevate the batch file, so that it requests from UAC administrator rights if required
Best Answer
It should be fine, yes. The Program Data folder is there for programs for that purpose.
In terms of permission, you should be able to check or modify file permissions using .NET. See the
System.IO.DirectoryInfo
class as a reference, and seeSystem.Management
andSystem.Management.Instrumentation
namespaces for getting user information.