I'm using Asp.net running on a shared hosting environment. I'm using forms authentication to authenticate users. Now I need to add support for the users to create pdfs and images and save them on the server. The problem is that I need to protect the pdf/image created so only the user that created the file can use it, so it is protected from other users and also from users not logged in on the website.
I've read for example http://aspadvice.com/blogs/rjdudley/archive/2005/10/03/12984.aspx but that only protect the file from users not logged in, all logged in users can still use the file even if they didn't created it.
What is the best way to solve this issue? Thanks!