Hi there
Sorry for cross-posting this thread, but it has gone unanswered in the "MSDN Forums Windows Forms Windows Forms General" forum for a couple of weeks now, so I hope someone in here can answer it instead.
I would very much like to be able to run my vb.net winform apps in a different security context from that of the current user. And prior to click-once I simply did this by using the "run as" right-click option on a shortcut to my app.
Now with click-once deployment (which I really want to use) the application is located on a webserver and activated using an url to the site on the server where the app is hosted and thus the "run as" option is not available.
So how do I proceed
Do I do impersonation like it is described in this thread
Which does not seem very elegant to me, considering that you can do the same thing using on one line in the web.config of an asp.net application.
Doesn't the .NET 2.0 platform have a more neat way of doing impersonation .
Or can I somehow still use the "run as" method
Best regards Jakob

What is the correct way to do impersonation in a click-once deployed app?
Edgar J.