Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 14th, 2006, 10:26 PM
ebbflow
Guest
 
Posts: n/a
Default impersonate aspnet user with windows desktop application

I've seen explainations on how to impersonate a non aspnet user when a web
page is called within an web application, but I have a different
impersonation issue.

I have a windows desktop application (not a web app) that is used by our web
administrator to control some of the web application's settings. It also
has some troubleshooting features. One feature that I'd like is to verify
that the aspnet user has some permissions to open some files and folders,
launch specific programs, etc.

In short, I'd like to impersonate the aspnet user (not the user running the
program) in the desktop application. Can I do this, and can it be done
without knowing the aspnet password?

Thanks in advance.


  #2  
Old December 14th, 2006, 10:26 PM
Savas Ates
Guest
 
Posts: n/a
Default Re: impersonate aspnet user with windows desktop application

just call the web page by using XMLHTTP in your desktop application. search
about Xmlhttp on the web.


  #3  
Old December 14th, 2006, 10:55 PM
ebbflow
Guest
 
Posts: n/a
Default Re: impersonate aspnet user with windows desktop application

Thanks for the suggestion.

But I do not want to call the web page for a multitude of reasons.
I'd like to impersonate the aspnet user from my desktop app and check a few
things.

Thanks

"Savas Ates" <in da clubwrote in message
news:%23cDzGL8HHHA.2232@TK2MSFTNGP02.phx.gbl...
Quote:
just call the web page by using XMLHTTP in your desktop application.
search about Xmlhttp on the web.
>

  #4  
Old December 15th, 2006, 11:55 PM
Phillip Windell
Guest
 
Posts: n/a
Default Re: impersonate aspnet user with windows desktop application

This group is for ASP Classic,...not ASP.Net
There is no such thing as an aspuser in ASP Classic
--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

The views expressed are my own (as annoying as they are), and not those of
my employer or anyone else associated with me.
-----------------------------------------------------


"ebbflow" <ebbflow@newsgroups.nospamwrote in message
news:uMiEHG9HHHA.536@TK2MSFTNGP02.phx.gbl...
Quote:
Thanks for the suggestion.
>
But I do not want to call the web page for a multitude of reasons.
I'd like to impersonate the aspnet user from my desktop app and check a
few things.
>
Thanks
>
"Savas Ates" <in da clubwrote in message
news:%23cDzGL8HHHA.2232@TK2MSFTNGP02.phx.gbl...
Quote:
>just call the web page by using XMLHTTP in your desktop application.
>search about Xmlhttp on the web.
>>
>
>

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles