472,985 Members | 2,803 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,985 software developers and data experts.

application settings and least privilege users

Hello, I am trying to add the ability to save my applications settings
for each user. I was just wondering what the best method is to do this.
The only requirement is that any user account (user, power user, admin)
will have this capability. I would also prefer to have some measure of
security, but if need be I can use my own methods to handle this.

I am currently writting the setting information to the "application
data/all users" folder and I'm getting complaints from beta testers
that this is not working for user and power user accounts. Should I
continue to use application data and maybe do something different, or
should I use the registry or maybe Isolated Storage?

Jan 24 '06 #1
1 1464
Justin,

Isolated storage is a good idea, because you can scope it on the user
level, so you should have no problems there.

I also believe in .NET 2.0 there is a way that you can create user
settings in your config file. Check the System.Configuration namespace for
the classes/attributes that are prefixed with "user". There are a few code
samples that should help you pull it all together.

The advantage of isolated storage over the config settings is that the
files with the users preferences (or whatever you store) will all be in
separate files which should only be accessible to the users that they were
meant for (or an administrator who has rights), whereas with the config
file, I believe all the settings are in one file (I could be wrong here).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Justin Creasy" <ju***********@gmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Hello, I am trying to add the ability to save my applications settings
for each user. I was just wondering what the best method is to do this.
The only requirement is that any user account (user, power user, admin)
will have this capability. I would also prefer to have some measure of
security, but if need be I can use my own methods to handle this.

I am currently writting the setting information to the "application
data/all users" folder and I'm getting complaints from beta testers
that this is not working for user and power user accounts. Should I
continue to use application data and maybe do something different, or
should I use the registry or maybe Isolated Storage?

Jan 24 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chung Ley | last post by:
Hi I am having problem running an .net application on a Windows2000 Terminal Server. The application seems to work fine on user's desktop The issues that I have with running the application on...
13
by: Dennis C. Drumm | last post by:
I use the Documents and Settings\All Users\Application Data\AppName folder to store xml settings that are applicable to all user who log onto a machine. (The uers personal settings associated with...
3
by: Pitcairnia | last post by:
The basic purpose of the site is for authenticated users to post event listings, which often include photographs. The user is faced with a page where they can insert all of the information about...
3
by: Michael Glaesemann | last post by:
Hello all, Recently I've been thinking about different methods of managing users that log into a PostgreSQL-backed application. The users I'm thinking of are not necessarily DBAs: they're...
3
by: illegal.prime | last post by:
Hi all, I have a service that needs to start a regular windows application. I'm running the service as ServiceAccount.LocalSystem. But, when it starts the process (using Process.Start) the GUI...
1
by: Laurence | last post by:
Hi folks, In the middle of page 231 on the book "Administration Guide - Implementation" stated - "In addition to these package privileges, the BINDADD database privilege allows users to create...
4
by: - HAL9000 | last post by:
When un-installing an application... Is it normal practice to write a special program that erases all the files and folders for all the users of an application that reads and writes to...
18
by: Mel | last post by:
What is the best method to achieve this (I am relatively new to vb.net)? Should I use an ini file or the registry? Is there another option available in vb.net that is the preferred way? This...
3
by: Joseph Geretz | last post by:
I created a new Application Pool for my ASP.NET application since I want it to run under a specific user identity with privileges to access the application database. (I don't want to grant access...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.