473,378 Members | 1,541 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.

How to create a thread with admin rights

I am trying to create FTP virtual directory in an ASP.net page but got an
access denied error.
I know that the page is running under IUSR_ account with limited rights.
I'd like to create a new thread with god like rights to do this. Can anyone
help?
Thanks very much in advance,

Lan
Nov 16 '05 #1
2 2523
Perhaps you could take advantage of impersonation via your web.config file?
Lan H. Nguyen wrote:
I am trying to create FTP virtual directory in an ASP.net page but
got an access denied error.
I know that the page is running under IUSR_ account with limited
rights. I'd like to create a new thread with god like rights to do
this. Can anyone help?
Thanks very much in advance,

Lan

Nov 16 '05 #2
Thanks for the response. I had tried setting both impersonate=true and one
with username and password but no work still. There are some posts out there
suggest to pass the identity with these user rights to the constructor of a
new thread, however, thread class only takes in a threadstart delegate. Not
sure what else I need to try now.

"Eric Sabine" <mopar41@hyotyt_mail_nounderscores.com> wrote in message
news:uQ*************@TK2MSFTNGP09.phx.gbl...
Perhaps you could take advantage of impersonation via your web.config file?

Lan H. Nguyen wrote:
I am trying to create FTP virtual directory in an ASP.net page but
got an access denied error.
I know that the page is running under IUSR_ account with limited
rights. I'd like to create a new thread with god like rights to do
this. Can anyone help?
Thanks very much in advance,

Lan


Nov 16 '05 #3

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

Similar topics

0
by: Markus | last post by:
hi, is there a way to set up an user, how only have restricted admin rights on mysql server. this user only should be able to create DBs (and drop them) and set grants on this new DB. i think...
9
by: Lauren Quantrell | last post by:
Is there a way to create a text file (such as a Windows Notepad file) by using a trigger on a table? What I want to do is to send a row of information to a table where the table: tblFileData has...
2
by: Keith Jakobs, MCP | last post by:
Greetings: I had seen several posts around the Internet about this issue from a few months back, but have been unable to find a resolution ... I have a user who is trying to get started with...
1
by: Stephan Neuhaus | last post by:
Hi all. I'm having a problem that's driving me nuts. I am not familiar with Access, but I have read the FAQ, searched google, read the Access Security FAQ, and looked at the Access Web, to no...
2
by: C | last post by:
All, I am trying to run my BO in a separate thread, so that I can give the user a visual of the status of my process in a asp.net page/site. All works fine, IF the ASPNET user has admin rights,...
5
by: Michael | last post by:
Hello, I've created an ASP web page where users in our organization can create Active Directory computer accounts. The web page is running on a Server 2003 SP1 IIS 6 installation. The...
4
by: Dan Holmes | last post by:
I admit this not being C# specific but i don't know where else to start. My application needs an "administrator" user id. This would function just like the "administrator" user id in windows. ...
7
by: buzzluck68 | last post by:
Hello, I have an in house application that we developed, but everyone who needs to use the program are not allowed to be local admins on their PCs. I was wondering if there was a way to code...
0
by: Terry Reedy | last post by:
Murphy.MarkS@epamail.epa.gov wrote: I have both 2.5.2 and 3.0b2 loaded for all users on stock xp with all upgrades. I put /Python25 and /Python30 under Program Files instead of C:. As normal...
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: 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: 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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.