Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-securedhttp-multipart

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-securedhttp-multipart

Node-RED node to create secured http multipart endpoint

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-securedhttp-multipart

Node-RED nodes is extended from httpmultipart ( node-red-contrib-http-multipart) but with built-in security. If secured field is set to false, it has the same features as httpmultipart in the default installation. It uses a predefined OAuth endpoint to validate the token in authorization header or query string in a request and to check if the user with the token has privilege to access this node.

Install

Install from npm

npm install node-red-contrib-securedhttp-multipart

Usage

This package contains node similar to the httpmultipart and but securedhttpmultipart must be authenticated with a token in Authorization header or access_token query string for privileged user to access it if the "Secured" field is set to true. When "Secured" field is set to true, user will need to have the privilege specified in "Privileges" field. If the "Privileges" is not set but "Secured" field is set to true, an access token will need to be validated. The OAuth user endpoint will need to specify in the settting.js file with "oauth2UserUrl" key. For example,

oauth2UserUrl: "https://localhost:8080/oauth/user",

You will need to fill in the following fields:

-- Ignore the "Start" field.

-- Secured field is set to true to enable security. False to disable.

-- User will need to have privilege to access this endpoint even if the token is valid if this field is set to non-empty string. Multiple privileges can be specified with comma delimiters but user will need to have one of thoese specified privilege to access this endpoint.

Please refer to node-red-contrib-http-multipart for helps.

Authors

Keywords

FAQs

Package last updated on 07 Jul 2017

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