Solved

How to make my ftp secure ?

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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CentOS7 Xvnc gdm login 9 231
SFP configuration on a Linux server 8 217
Error when calling SSH command 20 115
linux 2 106
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…

820 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