Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Not sure if this is possible at all:

I have an FTP server, which clients use to drop off documents. Each client has their own sub-account and can only access his own folders.

Question: Is there a way to not allow accessing these files through a browser? If I just enter the URL url/client-folder/filename.whatever in my browser I can access all the file.

share|improve this question
1  
To give you specific instructions we'd need to know the OS platform and specific FTP server software you're using. –  Evan Anderson Jan 26 '12 at 19:26
    
mh. It's a hosted server, so I'm afraid I can't really access anything on it. If this is not possible through my FTP-programm (CoreFTP), I think there isn't much I can do, can I? –  frequent Jan 26 '12 at 19:35
    
Can I assume that each sub-account has a different password? –  mdpc Jan 26 '12 at 20:51
1  
If it's a hosted solution, you probably aren't going to have the fine-grained control that you would need to do this. –  Coding Gorilla Jan 26 '12 at 21:24
    
@mdpc: yes. each has its' login & password. –  frequent Jan 26 '12 at 21:51

1 Answer 1

If you can access the file permissions, you can remove the permissions for all users who do not own the file. E.g. in Linux/Unix (running on the server), you'll be able to set permissions for the owner of the file, for users in the same group as the owner and for everybody else. If you remove the permissions from everybody but the owner of the file, the webserver should be unable to read it.

I don't use CoreFTP, so I can't help you on how to set file permissions. I noticed that on their website the documentation on this is in the "Coming soon" part.

share|improve this answer
    
ok. thanks so far. will look into this and see what I can find! –  frequent Jan 26 '12 at 21:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.