473,320 Members | 2,133 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,320 software developers and data experts.

Impersonation without credentials ?

Hello all

Is it possible to use Impersonation from inside a windows service to
impersonate the logged on user without supplying any credentials and
launching a program as that user ? My problem is that when launching
external apps from my service it does so as the services logon account not
the logged on user. If not does anybody have any suggestions for how to do
so ?

Many thanks
Jan 17 '06 #1
3 1543

Jarrod Morrison wrote:
Hello all

Is it possible to use Impersonation from inside a windows service to
impersonate the logged on user without supplying any credentials and
launching a program as that user ? My problem is that when launching
external apps from my service it does so as the services logon account not
the logged on user. If not does anybody have any suggestions for how to do
so ?

Many thanks


So you have a user's app which is interacting with a service?
Can you not launch whatever from the user's app?

Jan 17 '06 #2
On Tue, 17 Jan 2006 22:19:53 +1100, "Jarrod Morrison" <ja*****@ihug.com.au> wrote:

¤ Hello all
¤
¤ Is it possible to use Impersonation from inside a windows service to
¤ impersonate the logged on user without supplying any credentials and
¤ launching a program as that user ? My problem is that when launching
¤ external apps from my service it does so as the services logon account not
¤ the logged on user. If not does anybody have any suggestions for how to do
¤ so ?

See the following thread:

http://tinyurl.com/b2r3x
Paul
~~~~
Microsoft MVP (Visual Basic)
Jan 17 '06 #3
Hi andy

The service runs in the background and talks to an sql server and accepts
remote tcp connections, the service monitors what the user is doing and
records information at different times, i need to be able to send a remote
command to open an app from time to time as the logged on user from the
service program
"andy" <ao***@lycos.co.uk> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...

Jarrod Morrison wrote:
Hello all

Is it possible to use Impersonation from inside a windows service to
impersonate the logged on user without supplying any credentials and
launching a program as that user ? My problem is that when launching
external apps from my service it does so as the services logon account not the logged on user. If not does anybody have any suggestions for how to do so ?

Many thanks


So you have a user's app which is interacting with a service?
Can you not launch whatever from the user's app?

Jan 17 '06 #4

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

Similar topics

1
by: CyberDigger | last post by:
I have two computers, client and server. The client is running Windows 2000 Professional and is in a workgroup, say "MyWorkgroup". The server is running Windows Server 2003 Standard Edition and...
6
by: Rob Bolton | last post by:
Hi there, If a program running under the interactive logon session (say Susan), needs to impersonate Bob (via "LogonUser()"), but Bob needs to access the network as Susan (i.e., his local...
3
by: Wm. Scott Miller | last post by:
What is the difference between using a username and password in the processmodel section vs using one in impersonation in the machine.config file? What are the advantages of each and what are the...
1
by: Matt Tapia | last post by:
How can I temporaily impersonate another windows user within my asp.net application to run a line of code? Do I need to know both the user name and password?
15
by: Patrick | last post by:
I set my web.config as follows: <authentication mode="Windows" /> <identity impersonate="true" /> Logon to my ASP.NET website as a user who can authenticate to the target database. 1) Works...
3
by: headware | last post by:
We have a web app that is running under Integrated Windows Authentication. It must consume to a web service we are publishing on another server, also running under Integrated Windows...
4
by: Saqib Ali | last post by:
I have some security concerns over storing a Active Directory username/ passwd in a text based web.config file for the identity impersonation definition. I know that web.conf is not accessible...
5
by: =?Utf-8?B?S2l0dHlIYXdr?= | last post by:
I am in the process of migrating an II6 environment from a single server to a network load balanced system. Thus, I am using a virtual directory on a UNC share to house the dynamic data that the...
1
by: Luigi | last post by:
Hi, I need to copy files to/from a network share in a LAN with/without Active Directory. If my user has no right to do so I have to use impersonation in the same way Windows prompt me for a...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.