Git Product home page Git Product logo

secure-dav's Introduction

Secure WebDAV Server

Start a preconfigured WebDAV server (based on webdav-server), which store files in a folder, encrypt and compress them. The encryption is AES256 CBC using a master password.

Install

npm i

Usage

node index.js

Configuration

The default configuration file name is config.json.

The string values can refer to another value with the $(...) pattern.

Key Default value Description
webdavServerOptions undefined Settings of the webdav-server package
dataFolderPath '.data' Folder to store the crypted data
masterFilePath 'data.json' File path in which store the resource tree
masterKeyIteration 100000 Number of hash iteration to get the master key/IV
fileKeyIteration 1000 Number of hash iteration to get the file-specific key/IV
keySize 32 Encryption/descryption key size
ivSize 16 Encryption/descryption IV size
password '1saw6rar4know8rar' Password to use for encryption/decryption
cipherAlgorithm 'aes-256-cbc' Algorithm to use for encryption/decryption
hashAlgorithm 'sha256' Algorithm to use for the hashes
multiUser false Define if the system must use a multi user system

Here is an example of a configuration file :

{
    "webdavServerOptions": {
        "port": 1900
    },
    "dataFolderPath": "./data/store",
    "masterFilePath": "./data/index"
}

Note

For an unkown reason yet, if you set the hostname to 'localhost' or '127.0.0.1', the Windows embedded WebDAV client will be slower requesting to this server.

What to do with a WebDAV Server?

You can use it as a virtual repository to store data and allow other softwares to access to it.

For instance (Windows uses \\localhost@<port>\DavWWWRoot\ to connect to the server ; Linux will need to mount the server or to use a webdav client).

secure-dav's People

Contributors

rakisaionji avatar

Stargazers

Ruslan Konev avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.