title: Using authorize attribute ASP.Net MVC
body: <p>I use Authorize attribute to check if user is authorized or not to enter special view. </p>
  
  <pre><code>    [HttpGet]
      [Authorize]
      public ActionResult Index(int ID)
      {
               ViewBag.sID = ID;
               return View();
      }
  </code></pre>
  
  <p>Suppose this is mu URL : localhost:16621/Panel/Index/1 
  Now this authorized user can change 1 to 2 and navigate to another user information. Like localhost:16621/Panel/Index/2
  How to prevent from this??? Is there any way to pass parameter to authorize attribute?
  How to prevent user from access another user information?</p>