title: ASP.NET: Without using Membership API, how do you restrict resource files(e.g. jpg) to certain roles?
body: <p>It is easy to restrict access to aspx pages, just use role-checking logic in the code-behind. But resource files like a photo does not have a code behind to put role-checking logic, so how to restrict access?</p>