How to set up a secure, temporary File sharing Portal (Self-Hosted)

Configurare noua (How To)

Situatie

Use Case: You need to send sensitive files to a client but don’t trust WeTransfer or Google Drive.

Solutie

Steps:

  1. Deploy FileRun or Nextcloud in Docker

    • Install Docker on your server:

      sudo apt install docker.io docker-compose
    • Create a docker-compose.yml with FileRun or Nextcloud.

  2. Set Up SSL with Let’s Encrypt

    • Use a reverse proxy like Traefik or NGINX with Certbot to issue SSL certs.

  3. Create a Public Upload Folder

    • Limit size, set auto-delete after X days, enable password protection.

  4. Send One-Time Secure Links

    • Generate a share link with password & expiry date.

  5. Add Fail2Ban or Cloudflare to Prevent Brute Force Attacks

Now you have a secure, private file sharing portal hosted on your own VPS.

Tip solutie

Permanent

Voteaza

(1 din 2 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?