title: Laravel 5.3 owner using about
body: <p>I'm learning Laravel 5 and I make a membership with Laravel auth:</p>
  
  <pre><code>php artisan make:auth    ,
  php artisan make:controller bilgilerController --resource
  </code></pre>
  
  <p>It shows the area public but editing and updating area it must be private, so if I'm logged in to my account and change data, my profile is edited and not someone else's profile.</p>
  
  <p>My id 1 and my edit area: <code>xxxxx/bilgiler/1/edit</code></p>
  
  <p>but if I change the URL by hand <code>xxxx/bilgiler/2/edit</code>, I can change the information..</p>
  
  <p>I do <code>__construc</code> for <code>bilgilerController</code> and <code>add $this-&gt;middleware('auth',['only' =&gt; ['edit','update','destroy']];</code> but when I'm not logged in to someone elses account, I cannot access the edit page. But again, with the 1 id account, I can access other users' edit page.</p>