regular user access

Discussion in 'Feature Requests' started by Baggus, May 14, 2008.

  1. Baggus

    Baggus New Member

    Hi,

    <short intro>
    I myself got hired by a company that wants a system to allow their customers to access their files remotely, ofc any FTP solution would do the trick here.
    But the thing is that some of those users either really don't have a clue of how FTP works (yes those people exist), or they can only access sites through a non-ftp proxy.
    So my eye fell on ISPconfig, that already had a (neat) webftp integrated.:)
    </short intro>

    Maybe you could add an option to allow regular users to use the web-ftp for downloading/uploading files aswell.

    But, there is a much simpler option that would really do the trick aswell:
    A simple tickable box under the Advanced Settings tab at a user:
    [x] Allow only the user himself to view his page. (?)

    Where clicking the (?) would make a pop-up appear saying something like:
    "A .htaccess and .htpasswd are created to have Apache ask for the user's username and password before he can access/view his own site."

    The .htaccess would be located in /var/www/$webnr/user/$username/web, and the .htpasswd would be located in /var/www/$webnr
    Giving something like:

    .htaccess:
    AuthUserFile /var/www/$webnr/.htpasswd
    AuthName "$domainorwhatever"
    AuthType Basic
    <Limit GET POST LIST>
    require user $username
    </Limit>

    .htpasswd:
    $username:$encryptedpassword

    Where if the user would be deleted, not only the .htaccess file would have to be removed, but also the line from /var/www/$webnr/.htpasswd that contains his name.

    I myself already created a PHP solution for a server that would just have LAMP + pureftpd-mysql installed, but that required apache to run as ftpuser, or pureftpd as www-data. And i couldnt get that working.

    If you have any questions please ask, as i know i'm not the best at explaining things.

    Something that would also really help is if you allow the server admin to define (shell)scripts for a web that are run when a user is created or deleted:
    For example:
    When a user is created run
    /$ispconfigscriptdir/adduserscript $user $web
    and when a user is deleted run
    /$ispconfigscriptdir/rmuserscript $user $web

    Thanks ALOT in advance :)

    And please don't force me to use something like Microsoft Sharepoint, because that would be my nightmare.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    There's already a function in Web-FTP that allows you to password-protect directories with .htaccess. :)
     
  3. Baggus

    Baggus New Member

    Atleast i am better at finding the "Thank you" button in phpbb than i am at finding stuff in ISP config (or programming my own sh*t) :p

    Thnx alot man :)

    btw: i've seen another post about creating skeleton directories to be copied into new users directories, maybe you can still consider adding a function to let ISPconfig run a user defined (shell) script when adding a new user
     
    Last edited: May 16, 2008
  4. Leszek

    Leszek New Member

    You could also try net2ftp.
    It's a web based ftp client that let's users do just about everything with their files using ftp.
     

Share This Page