Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

FTP
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Ftp
View previous topic :: View next topic  
Author Message
weavil



Joined: 16 Jun 2004
Posts: 21

Posted: Wed Jun 16, 2004 7:18 pm    Post subject: FTP  

Is there anyway to setup the ftp program that came with apache2triad to allow users to login to a certain folder and be able to execute a exe file that it run on the server?
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 1538

Posted: Thu Jun 17, 2004 11:55 am    Post subject:  

to login to a specifc folder yes , that should be implemented in PHPsFTPd soon but as for executing a file , you are either inocently dumb or maliciously bold

remotely executing a executable on the server side is a security hazard
Back to top  
weavil



Joined: 16 Jun 2004
Posts: 21

Posted: Fri Apr 15, 2005 9:48 am    Post subject:  

acually it was for a game server i used to run. i was going to set it up to let the zone owners upload there files to one folder and execute there bots from another, but set it so they couldn't upload to the bot folder. That way i wouldn't have to worry about anyone uploading a virus on my server and execute it.
Back to top  
LiquidSnake



Joined: 23 May 2004
Posts: 267
Location: Middlesboro, KY

Posted: Fri Apr 15, 2005 10:06 am    Post subject:  

You can execute external programs through php (http://us2.php.net/function.exec). 1 thing to keep in mind though, you may want to shut these programs down at some point. Also might wanna set a limit to the # of programs, too many and eveything will bog down.

Also, you might wanna password protect the the scripts.

And FTP is just for File Transer.
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Ftp
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group