secure-http2
Implementation of SPDY-based Secure Session Management System on node.js.
Last updated 5 years ago by dai .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install secure-http2 
SYNC missed versions from official npm registry.

secure-http2

HTTP2/SPDY-based secure session management server on Node.js.

Description

This module is used for preventing session hijacking attacks. With this module you can create HTTP2/SPDY-based secure session management servers on Node.js. This module is based on indutny/node-spdy.

Usage

Server:

var secureHttp2 = require('secure-http2'),
    fs = require('fs');

var options = {
  key: fs.readFileSync(__dirname + '/keys/key.pem'),
  cert: fs.readFileSync(__dirname + '/keys/cert.pem'),
  ca: fs.readFileSync(__dirname + '/keys/ca.pem'),
};

var server = secureHttp2.createServer(options, function(req, res) {
  res.writeHead(200);
  res.end('hello world!');
});

server.listen(3000);

##Installation Clone the git repository as

git clone https://github.com/dai217/secure-http2.git

You can also use secure-spdy as an npm package. You can install it by:

npm install secure-http2

Acknowledgement

We would like to offer special thanks to indutny, Heinrich Goebl, Agenda Software GmbH & Co. KG.

License

This software is licensed under the MIT License.

Copyright (C) Suzuki Daisaku, 2015.

Includes node-spdy
Copyright (C) Fedor Indutny, 2015.
Released under the MIT Licenses.

Includes spdy-transport
Copyright (C) Fedor Indutny, 2015.
Released under the MIT Licenses.

Includes mobile-detect.js
Copyright (C) Heinrich Goebl, Agenda Software GmbH & Co. KG, 2013.
Released under the MIT Licenses.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Current Tags

  • 1.0.1                                ...           latest (5 years ago)

1 Versions

  • 1.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |