473,378 Members | 1,507 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 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 1472
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.