Skip to content
This project illustrates the capabilities of Virtru's JavaScript SDK.
JavaScript CSS HTML Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.buildkite Develop (#121) Aug 7, 2019
.github DSAT-161: OSS prep (#116) Aug 5, 2019
__mocks__
public
src
.env 🌲Log buildkite build number, if present (#54) Aug 1, 2019
.gitattributes Initial commit Jun 18, 2019
.gitignore Initial stuff + reorganization (#1) Jun 21, 2019
.nvmrc Initial stuff + reorganization (#1) Jun 21, 2019
.prettierignore 🎨 Enable prettier, an opinionated code formatter (#5) Jun 28, 2019
.prettierrc 🎨 Enable prettier, an opinionated code formatter (#5) Jun 28, 2019
CHANGELOG.md Update README.md (#129) Aug 7, 2019
LICENSE
README.md
license-update
package-lock.json No analytics (#128) Aug 7, 2019
package.json

README.md

Protect and Track Demo

Protect and Track

The Protect and Track Demo leverages the Virtru SDK for JavaScript as well as the TDF Architecture in order to secure files and share them with others, while maintaining visibility and control of your data.

This demo showcases features such as:

  • Securing a file such that only intended recipients can access its data
  • Sharing a secured file with others, using Google Drive, or Dropbox
  • Revoking access to a secured file, so users can no longer access its data

See it Live

Go here to test drive the live demo. Afterwards, check the out Virtru's Developer Hub for a step-by-step guide on how it all works.

Run it Locally

This demo can run on your local environment. Please ensure you meet the prerequisites and follow the steps.

Prerequisites

To be able to use Federated OAuth we suggest you to modify your /etc/hosts. This is an optional step, but note the fallback authentication will be email code only.

Windows

  • Install a POSIX-compatible environment such as Cygwin or Cmder
  • Install NVM
  • Edit c:\Windows\System32\Drivers\etc\hosts to include 127.0.0.1 local.virtru.com

Alternatively you could install Windows Subsystem for Linux and use the instructions below for Linux

Linux / MacOS

  • Install NVM
  • Edit /etc/hosts to include 127.0.0.1 local.virtru.com

Getting Started

# Clone the repository
$ git clone git@github.com:virtru/protect-and-track.git

# Change directory
$ cd protect-and-track

# Install node via NVM
$ nvm use

# Install node modules
$ npm ci

# Start the node server
$ sudo npm start

If running successfully, your default browser may automatically open. If not visit https://local.virtru.com.


You may be presented with a warning screen with a message similar to "Your connection is not private." This is due to the self-signed SSL certificate when running in development mode. To access the demo:

  • Chrome: Click Advanced then Proceed to local.virtru.com (unsafe)
  • Firefox: Click Advanced then Accept the Risk and Continue
  • Safari: Click Show Details then visit this website
  • Opera: Click Help me understand then Proceed to local.virtru.com (unsafe)

Getting Help

There are many ways to get our attention:

  • You can join Virtru's Developer Hub Community Slack channel to get your questions answered.
  • You can open a support ticket here.

License

Copyright © 2019 Virtru Corporation

This repo is released under the MIT license for all artifacts in this repo with the following exceptions which are subject to our Virtru Data Protection Subscription Agreement.

  • virtru-sdk
You can’t perform that action at this time.