Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Someone suggested I configure /bin/csh as a viewer for documents of type application/x-csh. Is this a good idea?

0
Posted

Someone suggested I configure /bin/csh as a viewer for documents of type application/x-csh. Is this a good idea?

0

This is not a good idea. Configuring any command-line shell, interpreter, macro processor, of scripting language processor as the “viewer” for a document type leaves you vulnerable to attack over the Web. You should never blindly execute any program you download from the Internet (including programs obtained by FTP). It is safer to download a script as text, look it over to make sure it isn’t doing anything malicious, and then run it by hand. These words of warning apply also to the macro worksheets generated by popular PC spreadsheet programs. Although it seems natural to declare a type “application/x-msexcel-macro” in order to receive spreadsheets that automatically recalculate themselves, some of the functions in the Excel macro language have the potential to inflict damage on other worksheets and files. These warnings even apply to such seemingly innocuous things as word processor style sheets and template files! Many high end word processors have a built-in macro processing abilit

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123