For Programmers: Free Programming Magazines  


Home > Archive > ASP > December 2006 > impersonate aspnet user with windows desktop application









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author impersonate aspnet user with windows desktop application
ebbflow

2006-12-14, 6:56 pm

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.


Savas Ates

2006-12-14, 6:56 pm

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


ebbflow

2006-12-14, 6:56 pm

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 club> wrote in message
news:%23cDzGL8HHHA.2232@TK2MSFTNGP02.phx.gbl...
> just call the web page by using XMLHTTP in your desktop application.
> search about Xmlhttp on the web.
>



Phillip Windell

2006-12-15, 6:56 pm

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.nospam> wrote in message
news:uMiEHG9HHHA.536@TK2MSFTNGP02.phx.gbl...
> 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 club> wrote in message
> news:%23cDzGL8HHHA.2232@TK2MSFTNGP02.phx.gbl...
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com