Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 12th, 2004, 10:26 AM
Registered User
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!

 
Old November 15th, 2004, 02:31 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

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
 
Old December 10th, 2004, 01:11 PM
Authorized User
 
Join Date: Nov 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can use Impersonation.
 
Old December 14th, 2004, 01:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega
Default

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
 
Old December 14th, 2004, 01:31 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega
Default

Rana - what is Impersonation?

 - mega
Moving to C# .NET





Similar Threads
Thread Thread Starter Forum Replies Last Post
User Accounts ASPNET.mdf pschulz ASP.NET 2.0 Basics 3 June 19th, 2008 12:41 PM
Creating a ASPNET user s_boland .NET Web Services 2 June 6th, 2007 02:22 PM
error Login failed for user 'HOME\ASPNET' Raif ASP.NET 1.0 and 1.1 Basics 3 December 23rd, 2005 02:09 PM
error Login failed for user 'HOME\ASPNET' Raif General .NET 2 July 23rd, 2004 12:49 AM





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