The correct way to approach this is through the Content-Type header, sent by the server in response to a request. If it is set to a value that is not associated with a particular application, plug-in, or behaviour, a user agent will typically prompt the user and allow them to choose what to do. The usual content type used for this is application/octet-stream, which means nothing more than arbitrary binary data.
How you go about implementing this depends on your server software. With Apache, or software that supports the same directives, you could force all files that end in .doc to have a particular content type with:
Code:
<Files *.doc>
ForceType application/octet-stream
</Files>
Mike
Bookmarks