Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - RE: Application Data

Reply
 
Old 10-24-2008   #1 (permalink)
Anteaus


 
 

RE: Application Data

The user's Application Data directory is mainly there for 'userization' so
that the data is different for every useraccount. If the settings or data are
to be per-user then you should put it here.

For data which applies to all users, the approved route is to put the data
into the All Users\Application Data profile. The issue here is that most
people (and most backup programs!) will not even recognise that data is being
stored here, and this creates a backup/data loss issue.

You could (as is being done) put the data in Program Files, and change its
permissions. Key point is that this is not approved, and may raise problems
with future Windows releases, I guess. In some ways, though, I find this
preferable to hiding the data in an impossible-to-locate place. It also has
the advantage of making the app portable. Copy the folder and you have the
app, with correct settings. This may be why your coder favours this route.

For services the problem is more complex, as they may run under the system
credentials. In this case the data should strictly be under the Local Service
account.

"Tom" wrote:

Quote:

> What is the actual benefit to using the application data directory, and why
> should we use it?
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
User application data Vista General
OUTLOOK APPLICATION DATA IS NOT AVAILABLE Vista General
appdata-local-Application Data-Application Data-Application Data infinitum ad nauseum. WHY Vista General
Application Data Vista performance & maintenance
Application Data-Why So many copies? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46