Secure FTP Single Folder Access

Posted on 2006-06-01
Last Modified: 2008-01-16
I am in need of setting up an FTP access to a user that I want restricted access to.  I currently have an FTP site setup which the user can login to, but he also gets access to my root folder, which I don't want.  I need the FTP transfer to be secure and he needs constant access, read, write and delete to his folder only.  The FTP site was already setup and doesn't use the Isolated access feature.  What are my options to limiting his access to his folder only?
Question by:Overthere
    LVL 10

    Assisted Solution

    In the FTP site in IIS create a  new ftp site. dont use the deafult one
    Create a user directory with the username and assign the correct NTFS permission fo that one.

    you can go through this article to see how to secure the ftp server.

    Author Comment

    Does the FTP site need to be located in the websites folder, or can I create elsewhere and just point to it?  I had already created a folder off the root called FTPOnly, then within that I created the username folder, hoping it would limit him to browsing only that folder, but when I tested the FTP login, it said the user cannot login, home directory was inaccessible?  Because I don't want him into my normal website info, I was hoping to create the folder where there were no other "parent" folders he could access with possible sensitive info.

    I'll give this a try again then use the secure article you mentioned.

    Author Comment

    I've actually created a folder called d:\3rdParty\User5 and then with my new FTP site, I've pointed to the d:\3rdParty as the root folder for the FTP site and then created a virtual directory below it called User5.  My User5 has all the proper permissions for the root and user5 folders, but I continue to get the

    User User5 cannot login, home directory inaccessible.

    error.  If I had the FTP site stopped, and before I created the virtual dir User5 below the root FTP folder, I was able to login but couldn't do anything.  Now that I've created the virtual dir and started the FTP service, it continuously gives me the above error.  This is EXTREMELY frustrating!
    LVL 6

    Accepted Solution

    "User User5 cannot login, home directory inaccessible." :

    Solution :

    1) Please go to "Inetpub >> FTPROOT" folder and verify that Everyone user account have only READ permission.
    2) Please go to "d:\3rdParty\User5" folder and then verify that 'user5' have full control on d:\3rdParty\User5 folder.

    Warm Regards,

    Vipin Gupta

    Author Comment

    Still no luck.  I have made sure that User5 has READ permission to the folders as noted above.  My problem is that this server was setup by my ISP and I really have no idea as to what was setup how.  It runs fine with my existing FTP site (which does NOT isolate users), but I really have to get this new FTP site running asap.

    My normal websites are in D:\websites folder and not an inetpub folder.  I have several websites running on the same box.  This is a dedicated server for my program only.  I have tried creating a new FTP site directly off D:\ and then as one of the existing websites.  Either way I look at my permissions and they explicitly say that User5 has READ access to the root folder and Full Control over the USER5 folder.  I'm not sure where to go from here - same frustrating message everytime and I have the folder setup with permissions.

    Author Comment

    It was a bit of combination of both answers.  In reality I had to make sure the folders were setup EXACTLY as the structure was with LocalUser as a folder also.  So ultimately my folder structure was d:\3rdParty\LocalUser\User5 with the proper permissions and it works just fine now.  Thanks for your assistance!!!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    759 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

    13 Experts available now in Live!

    Get 1:1 Help Now