?
Solved

How to make my ftp secure ?

Posted on 2004-09-06
3
Medium Priority
?
361 Views
Last Modified: 2010-04-20
Hi,
I'm using Mandrake 10
i've set up an ftp server with ProFtp.
I've made a special account and stuff for my ftp login.
and it always come in the /home/ftpdocs.

i login into my ftpclient but then i see also the map /home
my root directory, whole my pc.

how can i secure this that he only can into the /home/ftpdocs ?
0
Comment
Question by:koenvdl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 11990418
0
 
LVL 14

Accepted Solution

by:
pablouruguay earned 1500 total points
ID: 11990435
you need to disable the anonymous service and use virtual host for connections example
check the GLOBAL options too at the end of the paste text

#</Anonymous>
<VirtualHost domain.net.uy>
Port 21
ServerAdmin             pablo@domain.net
ServerName "domain- Uruguay  "
TransferLog             /var/log/ftp.domain
MaxLoginAttempts        3
RequireValidShell       yes
DefaultRoot /home/ftpdocs/
User                    domftp
Group                   domftp
AllowOverwrite          yes
LoginPasswordPrompt     off "Wibble"
</VirtualHost>
<Global>
DefaultChdir /home/ftpdocs/
DefaultRoot ~
HiddenStor off
ShowSymlinks on
ShowDotFiles off
</Global>
0
 

Author Comment

by:koenvdl
ID: 11990526
now i don't see any directorys anymore.
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question