Solved

How to make my ftp secure ?

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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