Folder security

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
stevefromdodge
504 Command not implemented
Posts: 11
Joined: 2010-10-05 23:23
First name: Steve
Last name: Hart

Folder security

#1 Post by stevefromdodge » 2010-10-05 23:30

I'm looking to change from WS_FTP server to Filezilla Server. So far, I've only found one snag.

Some of the user home directories were specified forever ago (in a more innocent age) as the root of the FTP folder tree. Some file senders have scripts that change to the directory where they should be before they upload. It's not a huge security problem since WS_FTP server has builtin folder security and each folder is locked to the specific user. Does Filezilla server have any kind of folder security? (I realize that I can redefine the home folders and lock users in, but that means having people change their scripts, which I would like to avoid.)

User avatar
botg
Site Admin
Posts: 35563
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Folder security

#2 Post by botg » 2010-10-06 06:30

You can apply permissions on a per-user basis.

What you could do is make a read-only and empty root common to all users with the user's directory mapped as alias into the root. So all the user sees and can access is the root which just has his own directory in it.

stevefromdodge
504 Command not implemented
Posts: 11
Joined: 2010-10-05 23:23
First name: Steve
Last name: Hart

Re: Folder security

#3 Post by stevefromdodge » 2010-10-06 16:55

botg wrote:You can apply permissions on a per-user basis.
How is this done?

User avatar
boco
Contributor
Posts: 26936
Joined: 2006-05-01 03:28
Location: Germany

Re: Folder security

#4 Post by boco » 2010-10-06 17:43

In the settings of the user account, Shared folders.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

stevefromdodge
504 Command not implemented
Posts: 11
Joined: 2010-10-05 23:23
First name: Steve
Last name: Hart

Re: Folder security

#5 Post by stevefromdodge » 2010-10-06 21:20

I'm still in the dark.

Working in a test environment, I've set up a user with a home directory at the root of the FTP tree, which is required if an unaltered FTP script will work.

When I test this, the user has access to his own folder, as well as every other folder in the tree. How do I lock him out of the other user's folders?

User avatar
boco
Contributor
Posts: 26936
Joined: 2006-05-01 03:28
Location: Germany

Re: Folder security

#6 Post by boco » 2010-10-06 22:11

Basically, you don't use the physical root of the user tree, but another, empty home directory. It'll stay empty, so it may be the same for every account (you could even make a group). The permissions for that directory should be List only. Now, for each individual account you only add the corresponding user directory (Alias) with the desired permissions. The result is that each account will see the (empty) root and only its user directory. This opt-in strategy is less complicated than your current opt-out one. And, let me add, in case you need to add more accounts, the opt-out strategy would require you to exclude the new directories for each and every old account!
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

stevefromdodge
504 Command not implemented
Posts: 11
Joined: 2010-10-05 23:23
First name: Steve
Last name: Hart

Re: Folder security

#7 Post by stevefromdodge » 2010-10-11 22:28

Thank you.

With your help (and a little searching on aliases) I found my answer.

Post Reply