Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Can asp.net run another program on the web server?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chenhong - 20 Jul 2007 04:56 GMT
If it's possible, can the program run under another credential?

TIA
John Timney (MVP) - 20 Jul 2007 09:32 GMT
you can use process.start oin .net 2 as it accepts credentials, or pinvoke
in 1.1 - but not all programs will run on a webserver.

http://www.leastprivilege.com/RunCMDUnderDifferentCredentials.aspx

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog

> If it's possible, can the program run under another credential?
>
> TIA
chenhong - 20 Jul 2007 09:48 GMT
sorry for my english.the question seems wrong.
let me ask again.

Can the codefile of an aspx page excute another program(eg.a dos .EXE file)
on the server?
Mark Rae [MVP] - 20 Jul 2007 10:40 GMT
> Can the codefile of an aspx page excute another program(eg.a dos .EXE
> file) on the server?

Yes it can - see John's reply...

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.