Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 12th, 2004, 10:26 AM
Registered User
 
Join Date: Nov 2004
Location: , , .
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!

Reply With Quote
  #2 (permalink)  
Old November 15th, 2004, 02:31 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
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
Reply With Quote
  #3 (permalink)  
Old December 10th, 2004, 01:11 PM
Authorized User
 
Join Date: Nov 2004
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can use Impersonation.
Reply With Quote
  #4 (permalink)  
Old December 14th, 2004, 01:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Copenhagen N, , Denmark.
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
Reply With Quote
  #5 (permalink)  
Old December 14th, 2004, 01:31 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Copenhagen N, , Denmark.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:46 PM.


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