I've got some PDF files sitting out on a web server, and for the time being I would like to hide them (i.e. have them return 404s). Can this be accomplished in the web.config file with a Rewrite Rule?
In Apache you can do this with something like this:
RewriteRule \.pdf$ - [R=404,L,NC]
How do I accomplish the same effect with IIS?