title: Disable direct access to images
body: <p>I am making a little family photo album, with the intention to maybe open it to other people to store images later.</p>
  
  <p>I upload the images to ~\images\, then resize them 3 times (Normal view ... thumbnail and a tiny version) and move them to ~\images\thumbs, ~\images\normal, ~\images\tiny and then move the original to ~\images\original.</p>
  
  <p>If a user knows a file name, they can just goto <a href="http://mysite.com/images/normal/filename.jpg">http://mysite.com/images/normal/filename.jpg</a> for direct access.</p>
  
  <p>I'd prefer that not to be available to them. </p>
  
  <p>So, is there a way to change the ImageUrl of the asp:Image control, to rather read from a non-accessable folder? And would this be a performance hit? I'm thinking something like (Not sure if it's possible) reading the image into s Steam, and somehow setting the ImageUrl or what ever, to read from the stream?</p>
  
  <p>Hope you can assist. </p>