Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to partially restrict FTP access to a site?

I have a website where I would like users to be able to edit and upload webpages. However, some pages should not be changed, e.g. the first page should remain unchanged.

Is it possible to restrict permits to change and upload only certain pages if other users also have the FTP details? (I am the only one who has access to the cpanel of the web hosting service).

http://goo.gl/EdMrJ

share|improve this question
add comment

1 Answer

Simple - the files you don't want changing need to be owned by a different user than people are logging in to the FTP server with. Then the FTP logins won't be able to overwrite them.

share|improve this answer
    
I think the service I'm using allows only one account... –  Pongy Apr 28 '11 at 8:52
    
Then no, it's unlikely you will be able to do it. You would be best off providing some kind of web interface to upload files - that way you can have full control over it programatically. –  Majenko Apr 28 '11 at 8:57
add comment

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.