title: Custom Security For ashx Handler
body: <p>In my WCF web service I have a custom ashx handler. It is designed so that a person can call the web service and get a dynamic link to download a file.</p>
  
  <p>So, an IIS server which is serving up a page to a client calls the web service. This generates the link. The link can be handed to the client machine (i.e. they will be running a web browser) and their browser can open the link. The link will be to the ashx handler, and the result will be that the file gets downloaded.</p>
  
  <p>For the WCF service over all it is using windows authentication because the service is not public, but I want to allow anonymous authentication for the ashx handler because that could be called from any number of client machines.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks.</p>