Limit user's ftp access to only one subdomain


#1

So I set up a subdomain (ftpaccess.mysite.com) and created a new username and password. Not sure why but the new user can also access my main domain via FTP (ftp.mysite.com).

How do I limit the user’s ftp access so they only see that one subdomain (ftpaccess.mysite.com) without them being able to access my main site? Thanks in advance.

Jimmyz


#2

If it’s two different users, they should have their own isolated home directories. Yours should only have example.com, and theirs should only have sub.example.com

How is your user accessing your domain? FTP? Are they navigating the directory tree? Are they just ending up in your home directory when they FTP in?

For further protection, make sure you’ve enabled Enhanced User Security:
http://wiki.dreamhost.com/Enhanced_User_Security

-Scott


#3

Thanks Scott. Enabling Enhanced User Security on my main domain did the trick.

Jimmyz