Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

A place for shared ini-file

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 07-06-2006   #1 (permalink)
Andrey Smolev
Guest


 

A place for shared ini-file

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?

Thanks.

With best regards, Andrey Smolev. E-mail: Andrey.Smolev@Mail.ru



My System SpecsSystem Spec
Old 07-06-2006   #2 (permalink)
Jimmy Brush
Guest


 

Re: A place for shared ini-file

C:\ProgramData\

I believe this is what you are looking for ... at first glance at the
security settings it doesn't appear to allow normal users write access, but
if you try it out or look in the advanced screens it works fine.

- JB

My System SpecsSystem Spec
Old 07-06-2006   #3 (permalink)
Tony Hoyle
Guest


 

Re: A place for shared ini-file

Jimmy Brush wrote:
> C:\ProgramData\
>
> I believe this is what you are looking for ... at first glance at the
> security settings it doesn't appear to allow normal users write access,
> but if you try it out or look in the advanced screens it works fine.


Don't hardcode it though... non-US versions probably won't call it that
(I asumme the 'All Users' path wasn't hardcoded...).

You get it by querying for CSIDL_COMMON_APPDATA with SHGetFolderPath.

OTOH looking at it you should *already* be using that since it
corresponds directly to the All Users\Application Data directory that
exists on XP.

I really hope the OP wasn't hardcoding that path...

Tony

My System SpecsSystem Spec
Old 07-07-2006   #4 (permalink)
Andrey Smolev
Guest


 

Re: A place for shared ini-file

Thanks, guys!!!
This information is very useful for us!

With best regards, Andrey Smolev. E-mail: Andrey.Smolev@Mail.ru


My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sfc_os.dll File in more than place Chuck Vista General 1 12-11-2007 06:05 PM
What's the best place for my paging file? Stan Kay Vista General 33 07-26-2007 02:14 AM
Question about the Place of the spelling file Harry Broekhof Vista mail 1 05-05-2007 02:08 PM
A place for shared ini-file Andrey Smolev Vista file management 4 07-06-2006 08:17 AM
A place for shared ini-file Andrey Smolev Vista General 0 07-06-2006 05:31 AM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




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 2005-2008

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 47 48 49 50 51