anonymous ftp should not list incoming directory

Discussion in 'Feature Requests' started by jmroth, Feb 4, 2009.

  1. jmroth

    jmroth ISPConfig Developer ISPConfig Developer

    When using anonymous FTP I guess it would be better if the files in the 'incoming' directory should not only be exempt from reading but they should not be listed at all.

    Code:
    scripts/lib/config.lib.php:            <Limit READ>
    
    -->

    Code:
    scripts/lib/config.lib.php:            <Limit READ LIST>
    
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    ISPConfig 2 or 3?
     
  3. jmroth

    jmroth ISPConfig Developer ISPConfig Developer

    2 of course
    Should one start using 3 ? :eek:
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    I've added this to our bugtracker.
     
  5. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    I've checked this. If I change as you suggested, then anonymous users will not be able to upload any files...
     
  6. jmroth

    jmroth ISPConfig Developer ISPConfig Developer

    Ah ok I see your point: the incoming directory is not listed in the main listing (however one can still CWD to it)

    Maybe then changing the Directory statement a little would do the trick:

    Code:
              <Directory /home/www/webXX/ftp/incoming[B]/*[/B]>
                Umask                       002
                <Limit STOR>
                  AllowAll
                </Limit>
                <Limit READ[B] LIST[/B]>
                  DenyAll
                </Limit>
              </Directory>
    
     
  7. eakinasila

    eakinasila New Member

    How do i upload a web page that i have created in notepad to the internet using a FTP.? Please be as specific as possible, as i have never done this before.I had to look up what an FTP and have no idea how to access it or anything.
    ___________________
    market samurai ~ marketsamurai ~ marketsamurai.com
     
    Last edited: Dec 1, 2009
  8. jmroth

    jmroth ISPConfig Developer ISPConfig Developer

    First, learn to use forums: This is completely OT (out of topic).
    Then to something along the following: http://www.lmgtfy.com/?q=upload files via FTP

    To use FTP you need to have a service provider hosting your homepage. Ask them for details. Please don't post back here.
     

Share This Page