>Is there a way to enable Basic authentication on a specific file in a directory?
Basic Authentication doesn't work for files. If you want to secure files or folders you need to use Windows Authentication. Basic Auth only works programmatically when challenging with the 401 Authorize request.
The only thing that secures folders and files directly is Windows Auth.
+++ Rick ---