A place for shared ini-file

A

Andrey Smolev

Hello, All!

We have a problem with the default Vista security settings. We need a place
to save our ini file with setting and we want to allow any user to write to
this file. Previously we could use "C:\Documents and Settings\All
Users\Application Data" folder for this purpose but now even an
Administrator cannot even open this folder and folder
"C:\Users\Default\AppData" is read only for regular user. Could you give us
advice for any place where we can store our settings on Vista sysem?

With best regards, Andrey Smolev. E-mail: (e-mail address removed)
 
B

Bernie

I'm just a developer and not from MS. I'm wondering why you couldn't just
put the ini file in the program folder?
 
A

Andrey Smolev

Hello, Bernie!

The point is to provide read/write access to a user without any additional
rights. A regular user doesn't have write permission to the "Program Files"
folder

With best regards, Andrey Smolev. E-mail: (e-mail address removed)
 
B

Bernie

Sorry. I understood the point but didn't know about write permissions to
program files. Would it be acceptable for each user to have their own ini
file? I've a few apps of my own that look like they would be broken by this
too.
 
A

Andrey Smolev

Hello, Bernie!

It's posible to put some of the settings to separate files for every user
(for example in the folder "c:\users\<current user name>\AppData"), but we
still need a major file for general settings that would be accessable for
everyone.

With best regards, Andrey Smolev. E-mail: (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top