p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Professional (http://p2p.wrox.com/forumdisplay.php?f=63)
-   -   aspnet user problem (http://p2p.wrox.com/showthread.php?t=21156)

burdalescub November 12th, 2004 10:26 AM

aspnet user problem
 
Hello,

I have a command-line application (.exe) which is executed from an asp (or aspx) page. I want this application to be executed by the administrator user and not by aspnet user. How can I do it? Thank you!


happygv November 15th, 2004 02:31 AM

If that is related to .Net, I would suggest you post that on a .Net related forum here. This is a Classic ASP forum.

_________________________
- Vijay G
Strive for Perfection

Rana December 10th, 2004 01:11 PM

You can use Impersonation.

mega December 14th, 2004 01:30 PM

If it's ol' ASP (perhaps there is several ways in ASP.NET) you need a login that can verify the user as an administrator and since ASP is dynamic - do a check (against a session) and Response.Write out the URI to the .exe file (then he/she is able to click it - tricky right'?!). Or use a VBScript file, that only user on restricted pages is able to execute. Actually the above both apply to aspx and asp.

 - mega
Moving to C# .NET

mega December 14th, 2004 01:31 PM

Rana - what is Impersonation?

 - mega
Moving to C# .NET


All times are GMT -4. The time now is 11:59 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.