Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th February 2007, 11:23
gabrix gabrix is offline
Senior Member
 
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to gabrix Send a message via Yahoo to gabrix Send a message via Skype™ to gabrix
Default addusers to group automatically

On my website there is a link pointing to my ftp urI .i would like only registered users to my website to view a particular dir in my ftp site.To do this i was thinking to automatically add registered users to a ,let's say, 'registered' group,and allow only this group users to view this ftp directory , and block robots and direct ftp users ,how can i do this ? What about by mod security?Thanks!
__________________
http://www.gabrix.ath.cx

Last edited by gabrix; 28th February 2007 at 11:41.
Reply With Quote
Sponsored Links
  #2  
Old 1st March 2007, 20:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Does your FTP server make use of virtual users (in a MySQL database) or of system users?
__________________
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
  #3  
Old 2nd March 2007, 08:56
gabrix gabrix is offline
Senior Member
 
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to gabrix Send a message via Yahoo to gabrix Send a message via Skype™ to gabrix
Default

It is an anoymous ftp everybody is allowed to login ,no auth.The server i use is proftpd and i saw some interesting directives like TCPGroupAccessFiles where , if i understood well , in a tcpwrapper way for groups i can allow or deny group users.I would differ users login in from the web site from users login in from a ftp client .
__________________
http://www.gabrix.ath.cx
Reply With Quote
  #4  
Old 3rd March 2007, 15:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Hm... I'd try to do this somehow with virtual FTP users because that way, you could modify user permissions in a MySQL database.
__________________
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
  #5  
Old 8th March 2007, 19:30
gabrix gabrix is offline
Senior Member
 
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to gabrix Send a message via Yahoo to gabrix Send a message via Skype™ to gabrix
 
Default

Some users are already in the database because my website users .Could i group these users ?Anonymous users instead belong to proftpd in my case they'd go in the nogroup where proftpd owner ftp is .... are we getting closer ???
__________________
http://www.gabrix.ath.cx
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
ubuntu ispconfig joomla .htaccess steve1084 General 8 6th January 2007 15:55
SuPHP and ISPconfig planet_fox Installation/Configuration 33 15th December 2006 20:09
what user and group does ispconfig run under funkyade Installation/Configuration 4 17th May 2006 20:56
A 'group' / 'name' bug? ISPconfig 2.2.0 edge General 3 9th April 2006 12:34
chgrp: invalid group `admispconfig' wwparrish Installation/Configuration 1 8th February 2006 06:23


All times are GMT +2. The time now is 23:17.


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