You are not logged in.

#1 2010-05-29 15:50:18

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

anonymous FTP with ability to create but not to modify files

Hello.
I need to setup an FTP server to be able to share some pictures documents etc.. FTP will be available on the internet via dyndns service.

I don't want to give password to any user, whom I want to upload some files to my server. Rather, I want to have some incoming folder, with limited size and limited maximum size of uploaded file. So I do need anonymous ftp with some limitations for anonymous users.

Also, I want to have some virtual accounts (which are supported by vsftpd). The virtuals would have an ability to upload much more larger files, delete files created by themselves (in their home directories, f.ex.)...

I want all users to be able to read some files on my machine, so I believe, I want ftp to support symlinks (do I?).

I don't need access to my own home folder.

I have very little experience with ftp (Windows' IIS). Also, AFAIK, different servers for linux have different capabilities, some don't support one things, some — another.
I can't just guess correct server and it's settings. I can't test ftp bymyself, I can only connect to it as a local user.
So I need some help of more experienced users.

TNX in advance.

Offline

#2 2010-05-30 07:44:43

gishten
Member
Registered: 2009-01-09
Posts: 39

Re: anonymous FTP with ability to create but not to modify files

First of all, you do realise that you'll be responsible for the things that you distribute? If someone upload copyrighted materials, child porn or any thing else illegal, you are responsible since it's you who are distributing on a public FTP. Having a anonymous upload on the internet just because you don't want the hassle of distributing passwords is just asking for trouble.

Read up on user rights http://www.cyberciti.biz/tips/unix-or-l … ights.html and how to manage them. the sticky bit might be of use if you share upload directories http://www.dba-oracle.com/linux/sticky_bit.htm

If you have your user rights down you won't have any trouble setting this up. Oh yes, vsftpd is a good choice.


Believe in the Ideal, not the Idol.

Offline

#3 2010-05-30 08:25:39

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: anonymous FTP with ability to create but not to modify files

I need FTP only for sharing some studying materials, some photos, etc.. FTP is just for personal use. Address will be known only for my college-mates and friends.
FTP server will be on my main machine, so it will be avaliable for only few hours per day while I'm at home and working with my computer. I don't think server with third-level domain name and small day to day uptime will be a good target for child-porn-spammers smile So I'm unworried about this.
It's just like opera unite, but without opera wink

I spent more than an hour trying to set up vsftpd, but completely failed with this. Server rejects anonymous users if writing is enabled.
Also, where to dig about user quotas? Are they managed by vsftpd itself or by some other software?

Offline

Board footer

Powered by FluxBB