Solved

How to make my ftp secure ?

Posted on 2004-09-06
3
354 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 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 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