title: ASP.NET MVC ViewBag / TempData Security
body: <p>I´m developing a web application on ASP.NET MVC and I´m using ViewBag and TempData to store some values that will live as long until the user logout. I.e: what user is logged in, some internal IDs so I can check roles and another values that the user should not know.</p>
  
  <p>My questions are:</p>
  
  <ol>
  <li>Is ViewBag / TempData good for this uses? Am I using it right or
  wrong?</li>
  <li>Are these tools secure?. Can the user sniff this values
  someway?.</li>
  </ol>
  
  <p>Thanks for your answers.</p>