Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I call a EXE from a ASP page...
Message
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Divers
Thread ID:
00668066
Message ID:
00669546
Vues:
27
The is for a intranet only. The user have to login before he can execute.
The ASP page is like a control panel on the server. With this ASP page we can start batch process.
>>So it can be somting like this in a ASP page?
>>
>>set oShell = Server.CreateObject("Shell.Application")
>>oShell.ShellExecute("c:\MyApp.exe")
>>
>>
>>>>How can I call a .EXE from a ASp Page...
>>>
>>>You may try the Server.CreateObject("Shell.Application") approach. That should work.
>
>While that will work there's two things to consider: the first, which may be obvious but needs stating, is that this would execute the application on the server, not the client. Second, if the ASP page is being accessed from the Internet anonymously, you will have to grant Execute privileges for the IIS anonymous user account on the EXE file you plan on executing. If your anonymous account is the standard IUSR_, this user account naming convention is well known out there in the hacker world and could potentially allow such a hacker to execute your program outside of your application.
>
>Like I said, just things to consider!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform