How to create a thread with admin rights

  • Thread starter Thread starter Lan H. Nguyen
  • Start date Start date
L

Lan H. Nguyen

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
 
Perhaps you could take advantage of impersonation via your web.config file?
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top