execution of exe files...
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server > execution of exe files...




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    execution of exe files...  
Mike Schwarz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-27-05 10:53 PM

we use php 4.1 on windows server 2003
we need to execute some exe-file with popen() function or exec_shell()
function of php
this is only running, if the IUSR_ has execute permission on cmd.exe and the
exe file to execute

is it only working this way? giving execute permission to cmd.exe ?
this would be a "no go" in point of security
any other tipp, how to execute safe exe files with php  or asp ?

thankx for any tipp

mike schwarz







[ Post a follow-up to this message ]



    Re: execution of exe files...  
Jeff Cochran


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-05 12:50 PM

On Tue, 21 Jun 2005 16:47:52 +0200, "Mike Schwarz" <ctek@ctek.ch>
wrote:

>we use php 4.1 on windows server 2003
>we need to execute some exe-file with popen() function or exec_shell()
>function of php
>this is only running, if the IUSR_ has execute permission on cmd.exe and th
e
>exe file to execute
>
>is it only working this way? giving execute permission to cmd.exe ?
>this would be a "no go" in point of security
>any other tipp, how to execute safe exe files with php  or asp ?

Execute where, server or client?  Anytime you use Exec_Shell you are
opening a shell command environment, so the user needs access to
CMD.EXE.  You could execute under a different account, depending on
your code, but a command shell is a command shell.

Jeff





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:51 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register