2

I have a portfolio site where I am trying to host some of my work, so people can download my work. Some of these files include exe executables, and some are .jar executables, which are run through batch.

When a user tries to download my apps, it says that the file is not commonly downloaded and may be harmful, and therefore blocks the download. If I zip the folders, it still does the same thing. Any format I choose, still blocks the downloads.

How can I stop chrome from doing this. Is there a way I can verify my files so they will be considered as trusted?

  • Browser side, done to protect the user as this is commonly used to deliver malware, you have no control and I don't want you to be able to bypass it. Especially with zip files... No Cryptolocker delivery enablement here please. Choose another method of delivery. – Fiasco Labs Aug 20 '14 at 15:43
  • what delivery method can I use then. – malteser Aug 21 '14 at 15:33
  • 1
    nope you have no control over this and for good reason – user44197 Aug 21 '14 at 17:34
1

All the options you need to change are done client side only.

Chrome Download Options

The Checkbox in the Circle must be checked, which will ask a user, where the file should be stored. After storing it, the user will still be warned that the file is dangerous, and if the user chooses discard, the file is still deleted.


Update The reason jar files are considered malicious is because the J ava AR chive can contain an "executable" file. If that file contains malicious code, when clicking it, you allow the code to run. Browsers would rather air on the side of caution then allow data corruption/destruction by malicious code. In order to fix this you must find an approved browser file type. See this Google Groups Post on Chrome

| improve this answer | |
  • Thing is I don't want people to think my downloads are malicious :( – malteser Aug 21 '14 at 15:06
  • I understand, but regardless, the settings for that are all client side. The only thing the server controls is the MIME Types, and all that does is tell the client browser to tell the users PC what application to use to open a file. – eyoung100 Aug 21 '14 at 15:12
  • Thank's fr your help. I found out that MediaFire lets me hsot the download without any problems. I still don't get why it's ok for MediaFire to host it and not me. I don't really mind though, i'm just curious. – malteser Aug 21 '14 at 21:14
  • Because you're hosting it without an SSL certificate – eyoung100 Aug 22 '14 at 19:24
0

I have equally been frustrated by this warning, and without going into a rant about how ridiculous the whole thing is, I will share the solution that worked for me.

I have found that double zipping got rid of the warning right away- zip your files, then zip the resulting zip file, et voila, the warning will disappear.

The user will have to unzip 2 files to get to your files, but that is a much lesser inconvenience than the dangerous warning.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.