Re: Global application settings for restricted users
- From: "Dennis C. Drumm" <dcdrumm_@xxxxxxxxxxxxxxxx>
- Date: Mon, 20 Jun 2005 06:03:52 -0400
Steven:
The problem with manipulating NTFS permissions at the time of installation
is that the application cannot thereafter recover from a corrupted or
deleted xml config file on its own.
I am afraid some wise guy will decide its fun to try and change app settings
by directly editing the xml file at some point. As it stands right now, I
have xml validation checks each time the file is opened and if it is found
missing, it will be re-created with default values.
So, I would like the program to be able to write and modify the file,
regardless of what permissions the user has.
Thanks,
Dennis
"Steven Cheng[MSFT]" <v-schang@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:iqwTOiXdFHA.940@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi Dennis,
>
> I also think using the NTFS's access control list to protect your
> application's global configuration files is the proper approach. And as
> for
> how to manipulate the NTFS permissions for file system, we can use the
> buildin interfaces in the windows installer( can use in our install
> project) or using script to manipulate the NTFS permissions. Here are some
> certain reference on the related infos:
>
> #How To Set Permissions Using the LockPermissions Table
> http://support.microsoft.com/?id=288975
>
> #How to use Xcacls.vbs to modify NTFS permissions
> http://support.microsoft.com/?id=825751
>
> Hope helps. Thanks,
>
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
.
- Follow-Ups:
- Re: Global application settings for restricted users
- From: "WenJun Zhang[msft]"
- Re: Global application settings for restricted users
- References:
- Global application settings for restricted users
- From: Dennis C. Drumm
- Re: Global application settings for restricted users
- From: Dennis C. Drumm
- Re: Global application settings for restricted users
- From: Steven Cheng[MSFT]
- Global application settings for restricted users
- Prev by Date: ContextMenu selected menu item index
- Next by Date: .NET Remoting object unavailable in in-process dll
- Previous by thread: Re: Global application settings for restricted users
- Next by thread: Re: Global application settings for restricted users
- Index(es):
Relevant Pages
|