Wednesday, March 25, 2015 at 4:27 PM

How the whitelist feature works

If you want to restrict access to your nodeStorage server to a small group of people, you can create a file containing the Twitter screen-names of the whitelisted users, and tell your nodeStorage server about it. This howto explains what to do.

  1. The whitelist is a JSON file that contains the names of the whitelisted users. Here's an example. It must be in a place where your nodeStorage server can access it over HTTP.

  2. Set up an environment variable called urlUserWhitelist. Its value is the address of the JSON file.

  3. Be careful that the JSON is syntactically valid. Test it with jsonlint if you're not sure.

  4. The nodeStorage server reads the whitelist once a minute. You don't have to restart the server to make your changes effective. Just wait a minute.

  5. If you've established a whitelist, and a user is not on it, they will not be able to use the server to store data.

Last built: Wed, Jul 29, 2015 at 9:53 AM

By Dave Winer, Wednesday, March 25, 2015 at 4:27 PM. Reallll soooon now...