FTP issues


Posted on 16th Feb 2014 07:03 pm by admin

Hi all,


I am currently facing some serious problems with a script and really need some advise before I am actually sick

To give you a brief overview of the situation, I have a script which is going to end up on someones local PC (dont ask how or why, its an extremely long story). The script will basically end up having all the connection details for someone to connect to my server via FTP. The script allows someone to connect to a folder and download a file from within that. What i have noticed is the script can obviously be edited by anyone (as the file is on their PC, so they can change the script to include commands like ftp_chdir, or ftp_cdup, so I have set the permissions on the server to only allow a person access to a single directory.

What I dont know is (as there are some pretty smart php coders out there) if there is a way someone can bypass this limit and still manage to download other files from my server.

I am basically looking for some advise here on how I can secure this, even though I am fully aware that the process is not a very smart or secure one to start with.

Sorry if I am being a bit vague.

No comments posted yet

Your Answer:

Login to answer
312 Like 32 Dislike
Previous forums Next forums
Other forums

array_map() probably obvious mistake
The code below is part of a class to escape strings, but should also accept an array, using array_ma

php ajax - two drop down list with a submit button
i have created a form with 2 drop-down list and a submit button. I would like to know how to pass th

phpMailer will not connect using SMTP
I am trying to use phpMailer with smtp:

Code: [Select]$mailer = new PHPMailer();
$mailer-&

xApp Analytics in BI 7.0
Dear all,

I am trying to implement xApp Analytics in BI 7.0. After I installed the analyt

Run function every 5 mins ??
I have a function PostMessage()

How can I run it every 5 mins ??

PHP & Java
Hello,

can PHP code be used inside java code?

Code: [Select]<SCRIPT LANGUAGE=&q

PHP template help
Ok, I don't know if anyone can help me but I am using PHP templates to make a site. I am a newbie an

distinct rows
Hi
version 10.2.0.3

I have a query output something like the following

ID

Applet JTextField Size Problem
Hello,

I recently started making an applet to calculate certain values for airplanes. However

True way to see if action was successful?
If this is a good way to see if action was successful to continue:

Code: function changeGa

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash