cloudy-files

command module
v0.0.0-...-71c93ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 5 Imported by: 0

README

cloudy-files

Codacy Badge Coverage Status

Cheap, cloud-based file management

At this point it's considered to be an experiment to have a simple file sharing system with some authorization mechanism without the need for a database. It's potentially a good fit for small companies or personal use. If you anticipate more than a few users, you should definitely consider a more robust solution.

Security

Please note that security for this application is not a top priority. Only use it in production if you know what you are doing. It is probably still fine for personal or low-scale use, best practices are followed in general.

To be even more specific, the application uses secure cookies to transfer session data. It is encrypted, but authorization is still travelling through the wire, instead of being looked up on the server side. This means that in case someone manages to steal your cookie, they can potentially impersonate you.

This decision was deliberate to keep the application simple and to avoid the need for a database.

TODO

  • Add missing HTML endpoints
  • CSRF protection for all POST/PUT/DELETE web requests
  • Bearer token protection for API requests
  • Test API server
  • Test web server
  • Add lambda support

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cli
api
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL