user91387: i'm studying 'Mastering Bitcoin' and have a questions,
in this book, we can send coin to other wallet by createrawtransaction but there is no enough secure method.
we can find other's wallet addresses at https://www.blockchain.com. and unused coin value too.
for example - https://www.blockchain.com/en/btc/address/34bN2MQcqA4JpbEVRU9KBsvhXgSEHQrqBz

718ae88f0eb13d2f2d3bc74cbf18721a82739b80f1bfc0658ed699263fca76fd(Fee:
  0.00002057 BTC - 3.11 sat/WU - 8.33 sat/B - Size: 247 bytes) 2019-01-14 04:57:04 34bN2MQcqA4JpbEVRU9KBsvhXgSEHQrqBz (1.13215222 BTC
  - Output) 32T5urH6uN4jhKenhW4LWM66WouzSCERbA - (Spent) 0.03213165 BTC 3LnZGyRAeCA3LAMBU2RSQn6dAkHw8rWquw - (Unspent) 1.1 BTC

than we can make fake transaction such as

$bitcoin-cli createrawtransaction '[{"txid" :
  "718ae88f0eb13d2f2d3bc74cbf18721a82739b80f1bfc0658ed699263fca76fd","vout":0}]'
  ' {"MY WALLET ADDRESS": 1.0, "3LnZGyRAeCA3LAMBU2RSQn6dAkHw8rWquw":
  fee}'

in conclusion, it doesn't works but i want know why this code not working

user63872: 
in conclusion, it doesn't works but i want know why this code not working

This part {"MY WALLET ADDRESS": 1.0, "3LnZGyRAeCA3LAMBU2RSQn6dAkHw8rWquw": fee} will throw an error, but the more general answer about security is: 
You can only generate a valid transaction if the wallet file you have open contains the private keys that can sign the transaction you've made. If you can't produce a valid signature, then it will not be a valid transaction, and the network will not relay or confirm it. 

91387: <p>i'm studying 'Mastering Bitcoin' and have a questions,</p>

<p>in this book, we can send coin to other wallet by <code>createrawtransaction</code> but there is no enough secure method.</p>

<p>we can find other's wallet addresses at <a href="https://www.blockchain.com" rel="nofollow noreferrer">https://www.blockchain.com</a>. and unused coin value too.</p>

<p>for example - <a href="https://www.blockchain.com/en/btc/address/34bN2MQcqA4JpbEVRU9KBsvhXgSEHQrqBz" rel="nofollow noreferrer">https://www.blockchain.com/en/btc/address/34bN2MQcqA4JpbEVRU9KBsvhXgSEHQrqBz</a></p>

<blockquote>
  <p>718ae88f0eb13d2f2d3bc74cbf18721a82739b80f1bfc0658ed699263fca76fd(Fee:
  0.00002057 BTC - 3.11 sat/WU - 8.33 sat/B - Size: 247 bytes) 2019-01-14 04:57:04 34bN2MQcqA4JpbEVRU9KBsvhXgSEHQrqBz (1.13215222 BTC
  - Output) 32T5urH6uN4jhKenhW4LWM66WouzSCERbA - (Spent) 0.03213165 BTC <strong>3LnZGyRAeCA3LAMBU2RSQn6dAkHw8rWquw</strong> - (Unspent) 1.1 BTC</p>
</blockquote>

<p>than we can make fake transaction such as</p>

<blockquote>
  <p>$bitcoin-cli createrawtransaction '[{"txid" :
  "718ae88f0eb13d2f2d3bc74cbf18721a82739b80f1bfc0658ed699263fca76fd","vout":0}]'
  ' {"MY WALLET ADDRESS": 1.0, "<strong>3LnZGyRAeCA3LAMBU2RSQn6dAkHw8rWquw</strong>":
  fee}'</p>
</blockquote>

<p>in conclusion, it doesn't works but i want know why this code not working</p>
 63872: <blockquote>
  <p>in conclusion, it doesn't works but i want know why this code not working</p>
</blockquote>

<p>This part <code>{"MY WALLET ADDRESS": 1.0, "3LnZGyRAeCA3LAMBU2RSQn6dAkHw8rWquw": fee}</code> will throw an error, but the more general answer about security is: </p>

<p>You can only generate a valid transaction if the wallet file you have open contains the private keys that can sign the transaction you've made. <strong>If you can't produce a valid signature, then it will not be a valid transaction, and the network will not relay or confirm it.</strong>  </p>
