just ad a warning along you're download (use right click and save as). If there user agent opens the file without asking to save it, i consider this isn't a problem. On the other hand i see why you want to do this so i'd seriously consider using a script (PHP, JSP, ASP, ...). You can set mime type as well as how the browser should handle this file.