473,382 Members | 1,424 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,382 software developers and data experts.

limited user

I am building a C# .Net remoting program that will also serialize
certain files to the local hard drive. This program will need to be
used by 'Limited Users', (non Admins).

What are the steps I'm going to have to take to be able to write files
and where should I store these files.

Thanks,
Rick

Apr 19 '06 #1
2 1247
VJ
Always a good practice to write User Data under the MyDocuments directory
for the current logged in User.. so I would say... Have a structure like

My Documents \ <MyCompany> \ <MyProduct1> \ <- you can product
specific data here..
My Documents \ <MyCompany> \ <MyProduct2> \ <- you can product
specific data here..

How to get My Documents directory for current user..

Environment.GetFolderPath(Environment.SpecialFolde r.Personal) - returns
C:\Documents and Settings\xpUser1\My Documents\

VJ
"Rick" <ri**@abasoftware.com> wrote in message
news:11**********************@j33g2000cwa.googlegr oups.com...
I am building a C# .Net remoting program that will also serialize
certain files to the local hard drive. This program will need to be
used by 'Limited Users', (non Admins).

What are the steps I'm going to have to take to be able to write files
and where should I store these files.

Thanks,
Rick

Apr 19 '06 #2
Thanks,

I take it that we should never have a problem creating a subfolder in
the 'My Documents' folder and any user, even a limited user will have
unrestricted ability to read and write to their 'My Documents' folder
from our application.

Rick

Apr 20 '06 #3

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

Similar topics

0
by: Gary L. Drescher | last post by:
Quick user question. I changed an XP Pro user account from Administrator to Limited, and then found I cannot not sign in to .NET 1.1 (via MSN Messenger 6.1 or via Money 2003, for example) from...
1
by: opt_inf_env | last post by:
Hello, I would like to create a text area where user can write only a limited number of symbols. Anybody know whether it can be done in html?
1
by: Sushant Bhatia | last post by:
Hi. I'm working at Arizona State University on a project that is developing software for individuals who are blind and I need to be able to setup an App that we are creating to run with...
1
by: Stig Johansen | last post by:
I have what I thought was a simple task. When the user's session times out I want to save some data to a database so that these can be retrieved the next time the user connects. I have therefore...
2
by: DotNet Ed | last post by:
Hi, I have an issue I have not found a way to get around. First of all, I use Windows XP Professional. I have a user account for administrative & security purposes (install software, share things,...
6
by: Roger | last post by:
Are there some system resources which the ASPNET user account gets less of, by default? I'm running into a problem with a web service that I'm working on. I have a 3rd-party program which the...
2
by: Ryou kaihou | last post by:
Is it possible to install dotnet.framework for a limited user in Windows XP? Thanks!!!
2
by: =?Utf-8?B?d2luZHNpbQ==?= | last post by:
Hi, I have a C# program that need to know whether the user that run the application is administrative user or limited user. Are there any methods in C# I can use? -- windsim
1
by: =?Utf-8?B?am9lIHNsdW5r?= | last post by:
If I am in limited user I cannot access the internet. If I change limited user to administrator I still cannot access the internet. -- joseph
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: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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.