Avast WEBforum

Business Products => Archive (Legacy) => Avast Business => Avast Server Protection => Topic started by: stoink on May 12, 2012, 11:32:54 PM

Title: Does removing file extensions protect against viruses?
Post by: stoink on May 12, 2012, 11:32:54 PM
I'm developing a website for uploading and encrypting files.

If someone were to upload a malicious file, would removing/renaming the file extension prevent any harm to my server?


Thanks.
Title: Re: Does removing file extensions protect against viruses?
Post by: !Donovan on May 12, 2012, 11:55:51 PM
If you have a program to run unknown files, then no.
If you have a program that runs any file as a specific file (runs .scr files as .exe) then no.

If it is a website for uploading and encrypting files, do you ever have to "open" or "execute" the file?
Title: Re: Does removing file extensions protect against viruses?
Post by: stoink on May 13, 2012, 12:02:23 AM
Hi,

No, the files are never executed on the server, only stored. They're also uploaded in chunks.
Title: Re: Does removing file extensions protect against viruses?
Post by: !Donovan on May 13, 2012, 12:27:28 AM
Then I would imagine that the files can never harm your server unless executed. To be safe, you can rename the files. Is there any advantage to keeping the original name?