Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 FTP
Google
Post new topic Reply to topic
Author Message
weavil
 
 


Joined: 16 Jun 2004
Posts: 21

PostPosted: Wed Jun 16, 2004 7:18 pm Reply with quoteBack to top

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?
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Thu Jun 17, 2004 11:55 am Reply with quoteBack to top

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
View user's profileSend private message
weavil
 
 


Joined: 16 Jun 2004
Posts: 21

PostPosted: Fri Apr 15, 2005 9:48 am Reply with quoteBack to top

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.
View user's profileSend private message
LiquidSnake
past contributor
past contributor


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

PostPosted: Fri Apr 15, 2005 10:06 am Reply with quoteBack to top

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.
View user's profileSend private messageSend e-mailYahoo Messenger
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT