I just signed up with digital ocean for my Debian server.

In the server I created multiple users, each user having an access to 1 different folder to view files in there.

Now what I want to do is to access that folder from my web browser and login with username and password so that I can start view my txt file.

What is the approach that I should take?


You need to setup a web server, for instance Apache, setting up users areas, and WebDAV services if you want users to write files there.

As an introduction to the theme:how to configure webdav access with apache on ubuntu-14-04

For starters, you can do:

sudo apt install apache2
sudo a2enmod dav
sudo a2enmod dav_fs

The user authentication will depend on the method you created the users.

  • will come back to improve this, on my phone – Rui F Ribeiro Apr 5 '17 at 4:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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