dlevens Posted August 13, 2004 Posted August 13, 2004 I am using ProFTPD 1.2.9 Server on [server74.totalchoicehosting.com] and would like to know how to restrict FTP accounts that I create in cPanel. I already know how to give access to just certain folders for the accounts I create but I am looking for more than just keeping them to a folder. Specifically I am looking to allow a few accounts access to the same folders but would like it so that they can only delete the files they upload. Since several FTP accounts can see the same files I don't want them to be able to delete other peoples files. This is easy to do if I had control of the ProFTPD install but since this is installed on the server I do not believe we have that type of access. Here is an example of what I am trying to do: I have a website at www.****/documents the documents folder has no html files it just lists the files that are uploaded there. I created a few ftp accounts that point to the documents folder. Users can ftp in and create folders and upload files. There are many files in the documents folder that I only want them to view and download but not delete. Yet they still need the ability to add there own files to the documents root. Right now I can only create ftp accounts but cannot specify what access they have. How can I specify more control over the accounts and give them full rights of files they create but only view rights of the other files? Dennis Quote
TCH-Rob Posted August 13, 2004 Posted August 13, 2004 How can I specify more control over the accounts and give them full rights of files they create but only view rights of the other files? Dennis, On shared hosting I dont think you can. I will leave it to someone that has more information than I do but I believe this has been asked before and the answer was that one cannot do it on a shared account. Quote
dlevens Posted August 13, 2004 Author Posted August 13, 2004 Rob, I have a feeling you are right. I am hoping there is a way to get this accomplished. So far I am playing around with some php uploader scripts which give the ability to upload, and since the users can view the files from the website the only thing they are missing is the ability to delete their own files. I have also played with a php script called webadmin that does allow deleting and uploading but it allows everyone to delete everyones files. Maybe someone else has found a good way to get this accomplished. Dennis Quote
GroovyFish Posted August 13, 2004 Posted August 13, 2004 Dennis, I am not quite sure if this will work for you, but take a look at h**p://www.invisionfilemanager.com/ I tried this out months ago and unfortunately I cannot remember everything about it (I really didn't even need it, I was just playing around). If I recall, you can set up users and permissions for what they can and cannot do. It's by the same people who make this bulletin board (Invision). HTH! Quote
dlevens Posted August 14, 2004 Author Posted August 14, 2004 Groovy, Thanks for the link. That script looks promising. Will give it a go tonight. Dennis Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.