For viewing the file must be downloaded.
If you can view the file, it can be downloaded on way or another. Is that what you're saying?
Without downloading the file can't be displayed. When you view the file in a browser the file is saved in a temporary folder.