New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

secure-serve

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

secure-serve

Serve a file using [localtunnel](https://github.com/localtunnel/localtunnel) with randomly generated authorization token.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 01 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc