title: How do I can Restrict data viewing by editing the url parameter in Yii2?
body: <p>I've an application using Yii2, basically if we want to view data, in the <em>view</em> page url exist the <code>id</code> of data.
  I need to set only the owner of data can view that data, so each user can't view another user's data by editing the parameter in url.</p>
  
  <p><strong>How do I can restrict the access? So, only who has create the data can access/view the data.</strong></p>