Report this

What is the reason for this report?

Is it possible to configure an sftp user for uploading and editing but NOT downloading files?

Posted on October 15, 2016

I know how to chroot (jail) a user to a folder, but now i need a user to be able to upload and edit but not download files (is this possible). I guess it does not make any sense right. Ha ha ha.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This page includes a couple potential solutions for this problem. Once you’ve jailed the user to their own directory you can prevent file creation but allow editing and downloading by setting appropriate permissions as the root user.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.