From b7f95f424a6d531cacecb1623eaf4a08c91fe126 Mon Sep 17 00:00:00 2001 From: Ronald Filo <33420224+colemanik@users.noreply.github.com> Date: Fri, 31 Aug 2018 12:37:13 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dc4f41b8..c9fcd5c6 100644 --- a/README.md +++ b/README.md @@ -198,17 +198,17 @@ Accessing restricted API's -------------------------- You can restrict API's to particular users by specifying an `apiaccess` file in `config.ini`. Here is an example `apiaccess` file which allows -user `bytemaster` with password `supersecret` to access four different API's, while allowing any other user to access the three public API's +user `decent` with password `pwd` to access four different API's, while allowing any other user to access the three public API's necessary to use the wallet: { "permission_map" : [ [ - "aaa", + "decent", { - "password_hash_b64" : "9e9GF7ooXVb9k4BoSfNIPTelXeGOZ5DrgOYMj94elaY=", - "password_salt_b64" : "INDdM6iCi/8=", + "password_hash_b64" : "W/wGhp3F9QOPwyCCpAPSQTrRnoQJi7IrI98ttwCJwCE=", + "password_salt_b64" : "8Bd7FkJHI/8=", "allowed_apis" : ["database_api", "network_broadcast_api", "history_api", "network_node_api"] } ], From 0e863e278c2a16a88a0b55ab40973c253a0f93ff Mon Sep 17 00:00:00 2001 From: Ronald Filo <33420224+colemanik@users.noreply.github.com> Date: Fri, 31 Aug 2018 12:38:25 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c9fcd5c6..a76f9911 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ API 0 is accessible using regular JSON-RPC: Accessing restricted API's -------------------------- -You can restrict API's to particular users by specifying an `apiaccess` file in `config.ini`. Here is an example `apiaccess` file which allows +You can restrict API's to particular users by specifying an `api-access` file in `config.ini`. Here is an example `apiaccess` file which allows user `decent` with password `pwd` to access four different API's, while allowing any other user to access the three public API's necessary to use the wallet: