1.1.0 • Published 5 years ago

secure-serve v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Serve local file securely online

Serve a file using localtunnel with randomly generated authorization token.

This allows downloading the file elsewhere on the internet with Authorization header or ?t=... query parameter. Useful for passing content to a server or to another user on the internet without uploading the file.

NOTE: DO NOT USE url-token or auth-token options for highly sensitive content. Using these options payload is transferred plain text through localtunnel.me.

Installation:

$ npm install -g secure-serve

Usage:

Usage
  $ secure-serve <file>

Options
  --port, -p        Port number to serve through on localhost
  --url-token, -u   Allow authorizing via ?t=... URL parameter
  --auth-token, -a  Allow authorizing using header 'Authorization: Bearer xxx'

Examples
  $ secure-serve content.json
1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago