hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Hosting Security and Technology Tutorials : HOWTO: Preventing Secondary FTP Users From Deleting Files In A Certain Folder.
Reply

Hosting Security and Technology Tutorials Tutorials related to server security or the like.
Forum Jump

HOWTO: Preventing Secondary FTP Users From Deleting Files In A Certain Folder.

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-26-2004, 09:34 AM
Joseph_M Joseph_M is offline
Tells All!
 
Join Date: Jul 2003
Location: UK
Posts: 1,879

HOWTO: Preventing Secondary FTP Users From Deleting Files In A Certain Folder.


Hey,

In order to do this, you must
- Be using ProFTPd.
- Have a virtual FTP host setup for the site, or it should be on its own IP.

Open up the file /etc/proftpd.conf for editing.

Put these lines in your ProFTPd config file, under the relevant virtual host settings.

  <Directory /path/to/folder/>
    <Limit DELE MKD RMD XMKD XRMD>
      DenyAll
      Allow usrname
    </Limit>

This will deny all users with the exception of "usrname" the ability to make, or remote directories, or to delete files in the directory "/path/to/folder/".

Hope this helps!  Any further questions and I'll answer them in this thread, please do not PM me.

Joe

 

Reply With Quote


Sponsored Links
  #2  
Old 02-17-2005, 12:43 PM
Blueheaven Blueheaven is offline
Web Hosting Evangelist
 
Join Date: Apr 2004
Posts: 476
<Directory /path/to/folder/>
<Limit DELE MKD RMD XMKD XRMD>
DenyAll
Allow usrname
</Limit>

Nice but where can i find a Howto for this

Quote:
- Have a virtual FTP host setup for the site, or it should be on its own IP.

Reply With Quote
  #3  
Old 03-08-2005, 05:41 AM
apollo apollo is offline
Web Hosting Master
 
Join Date: Feb 2002
Posts: 2,102

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Facebook's Recently Acquired Mobile App Platform Parse Launches Web Hosting for Developers Web Hosting News 2013-05-08 10:49:17
Kim Dotcom Claims Megaupload Search Warrants Unlawfully Obtained by US Government Web Hosting News 2013-01-04 11:24:29
Cloud Storage Firm Mozy Launches Stash File Sync Tool in Beta Web Hosting News 2012-01-26 18:00:33
Pancake.io, DropPages Let Users Host Web Site Files on DropBox Blog 2011-12-08 17:03:11
Web Host eUKhost Adds R1Soft Backup to Reseller and Shared Plans Web Hosting News 2011-11-10 16:28:14


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?