Skip to content

Commit

Permalink
FAB-5896 Security implications documentation
Browse files Browse the repository at this point in the history
Change-Id: I5564ba79046b532c3ebc90d3e68bca3559c34682
Signed-off-by: Jim Zhang <jzhang@us.ibm.com>
  • Loading branch information
jimthematrix committed Aug 25, 2017
1 parent 1e61110 commit 4e437bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fabric-client/lib/Channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,11 @@ var Channel = class {
* @property {string[]} args - Optional. Array of string arguments to pass to the function identified by the <code>fcn</code> value
* @property {Object} endorsement-policy - Optional. EndorsementPolicy object for this chaincode (see examples below). If not specified,
* a default policy of "a signature by any member from any of the organizations
* corresponding to the array of member service providers" is used
* corresponding to the array of member service providers" is used. <b>WARNING:</b> The
* default policy is NOT recommended for production, because this allows an application to
* bypass the proposal endorsement and send a manually constructed transaction, with arbitrary
* output in the write set, to the orderer directly. An application's own signature would allow
* the transaction to be successfully validated and committed to the ledger.
* @example <caption>Endorsement policy: "Signed by any member from one of the organizations"</caption>
* {
* identities: [
Expand Down

0 comments on commit 4e437bd

Please sign in to comment.