Solved

How to make my ftp secure ?

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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Question has a verified solution.

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

Suggested Solutions

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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

912 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now