#1  
Old 14th May 2008, 19:50
Baggus Baggus is offline
Junior Member
 
Join Date: May 2008
Posts: 8
Thanks: 1
Thanked 2 Times in 2 Posts
Question regular user access

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.
Reply With Quote
Sponsored Links
  #2  
Old 15th May 2008, 20:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

There's already a function in Web-FTP that allows you to password-protect directories with .htaccess.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
Baggus (16th May 2008)
  #3  
Old 16th May 2008, 14:46
Baggus Baggus is offline
Junior Member
 
Join Date: May 2008
Posts: 8
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko
There's already a function in Web-FTP that allows you to password-protect directories with .htaccess.
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 by Baggus; 16th May 2008 at 14:49.
Reply With Quote
  #4  
Old 17th May 2008, 00:46
Leszek Leszek is offline
Senior Member
 
Join Date: Nov 2006
Location: Poland,Włocławek
Posts: 369
Thanks: 22
Thanked 42 Times in 35 Posts
Send a message via Skype™ to Leszek
 
Default

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
Anything I can do against illegal login-requests? schmidtedv Installation/Configuration 17 7th November 2008 10:25
Ruby / FastCGI Problem Chad Server Operation 1 8th March 2008 21:38
log files cruz Technical 3 15th May 2007 15:35
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 19:26


All times are GMT +2. The time now is 00:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.