+ Reply to Thread
Results 1 to 3 of 3

Thread: FTP Setup

  1. #1
    Join Date
    Mar 2004
    Location
    Kingwood, TX
    Posts
    371

    Question FTP Setup

    I've know this for a while and wondered but never asked. When you set up an FTP site with the idea to make file transfers of any kind and make it secure the password should do the trick. All sites I've set up work perfectly with CuteFTP (and other FTP clients I'm sure) and of course the password is required. So I make an FTP directory for wysard on thedomain.com and the directory is now thedomain.com/wysard (at least to the web).

    If I now go to http://thedomain.com/wysard I get a nice listing of all the files and can download any one of them. So much for FTP and passwords. This can be fixed with an index file in the wysard directory, but for a novice this "feature" might not be known.

    Since this feature has probably been around forever, why doesn't cPanel put an index file there or at least post some sort of warning. I know I found out by accident and I also knew to put blank index files (but I did forget once and that was all it took to find out). To me this is somewhat of a bug - but not really?

    Just curious.

    Cheers

  2. #2
    Join Date
    Jul 2004
    Location
    Wisconsin
    Posts
    339
    The best way to handle this is to simply put the FTP directory for that account in root directory of your account, not the public_html folder. I have several accounts setup that way and they cannot be viewed using a web browser.
    ~ Nick

    NOTE: I can't guarantee I won't sell your email address to notorious russian spammers but hey the savings will go right into my pocketbook.

  3. #3
    Join Date
    Apr 2003
    Location
    New Jersey, USA
    Posts
    4,639
    Anything you post inside your web root directory will be visible to anyone who accesses that directory unless there is an index file OR you turn off directory listing in cPanel (or restrict access to the directory in some other way). Go to index manager in the advanced section and select the directory you want to change. Then select "no indexing" and this way people won't see a file listing in that directory even if you don't have an index file or restrict access in some other way.

    Regards,

    Aric
    Need help?

    Feel free to contact me via E-mail: aric.p@hostdime.com
    Click HERE to submit a ticket to the helpdesk
    ----
    Now Shipping:
    cPanel: A User's Guide
    and:
    Web Host Manager Administration Guide

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts