I have a c# app that users download from a website. I bundle the .exe and some other files in a zip file. The problem is that the Chrome browser has suddenly started showing the following warning when users download my zip file:
"flc-app.zip is not commonly downloaded and could be dangerous"
Here's somebody reporting the same problem.
What do I need to do so Chrome doesn't put up this warning when users download the zip file?
Do I need to sign the app? How do I do that and how much does it cost?
While looking at this, I think I found some apps delivered as zips that weren't signed and didn't cause Chrome to put up the warning. This pop3 utility is provided as an exe rather than a zip. It doesn't appear to be signed and Chrome doesn't warn about it when I download it.
I have seen suggestions elsewhere that registering with Google's WebMaster Tools may fix the problem. That doesn't apply in this case as the website has been registered with Google WebMaster Tools for years.
The best resources are this blog post and this blog post.
To sum up:
Sign you package with an authenticode signature.
Don't be malware (I'm sure you got that covered).
Logo your software (if it's not a browser plug-in).
This can be a frustrating process, so hang in there. Microsoft has not disclosed how many downloads one needs to build a reputation, but in practice once you stop changing the package (the hash is part of the reputation) then you can get past this fairly quickly.
I was able to get around this issue by posting the zip file on my Microsoft skydrive
Its possible to direct link to sky drive files as explained in this guide, the main points are outlined below.
Upload your zip file to your Microsoft skydrive.
Right click on the file and select share.
Click on get a link.
Select the view only option.
Now copy the link and replace 'redir' with 'download' to create a direct link as shown.
https://skydrive.live.com/redir?resid=xxxxxxxxxx&authkey=!xxxxxxxxxx
https://skydrive.live.com/download?resid=xxxxxxxxxx&authkey=!xxxxxxxxxx
I was able to download the file in chrome without it complaining provided that I linked to the file from a https location.
Related
I developed web-application to upload file to google drive and download from it with google drive.
but if i am using webcontent link for donwload file from Google drive then anyone can share this link to other. so can anyone have solution for temporary or one-time download link for file download?
or If the file downloaded by that link, then the link will be destroyed or not used anyway until a new link exist.
So is this possible with google drive api?
Currently there is no one time download link in Google drive. If you create a shareable link as you stated it will work forever. It cant be removed or disabled and it can be shared between users.
You might consider adding this as a feature request on the Issue forum
Anwser: No this is not possible with the Google drive api. Although i wonder if it isnt something you could do with in your web app and do a redirect type of thing. Its just an idea.
I have my files stored in Azure File System and here are the requirements -
User should be able to view the documents without downloading it to the local
This is working fine for pdf but not any other mime types
I tried setting Content-Type,Content-Disposition (in azure file properties but no luck) and also iframe.
User should be able to edit the doc online without downloading.
I don't think this is possible just with Azure and have to integrate with One Drive may be? Correct me if I am wrong?
I would really appreciate any inputs/thoughts.
Not sure if this is a viable option but using Storage Accounts in Azure, you can map these accounts as a network drives to any client machine. So they would be able to access these files via File Explorer.
This link covers the basic steps in setting it up.
Unfortunately for anyone who wishes to use this feature, they need to be on Windows 8 (or above) to be able to map a network drive successfully as it uses SMB3.
If this option is a no go I will delete the post.
I followed the guide HERE to link my app to an https URI. It works perfectly fine during testing, for both Debug and Release versions: when I click a hyperlink for the website, the app is launched instead of Edge. The OnActivated event is triggered and the app goes to the desired page, all well and good.
Keep in mind, I'm not using the LaunchUriAsync technique that opens the link only if the app is in foreground.
But when I uploaded the app to the store and downloaded it on the same device I was testing on, the app is not launched. Instead, the webpage opens in Edge. Why is this happening? Is it really mandatory to do some server-side changes to make this work? I'm afraid I don't have access to that, as my app is a third party alternative.
Can someone informed on this topic tell me how I can go about this?
Also, the app does show up under the "Apps for websites" section in Settings -> System when installed through the Store.
The document has a mistake before 8/26, The Json file name should be "windows-app-web-link", not "microsoft-app-uri-handlers". If you have referenced the previous document to lead to not work, please update.
If you still have issues after updated, please test the configuration of your app and website by running the App host registration verifier tool (Details please see the 'Test it out: Local validation tool' section of https://msdn.microsoft.com/en-us/windows/uwp/launch-resume/web-to-app-linking)
Because according to the document,
all side loaded apps with AppUriHandlers will have validated links for the host on install. You do not need to have a JSON file uploaded to test the feature. It seems may be something wrong with the JSON file so you can have a test.
I'm having issues with converting my Intranet Page to PDF file. I used 2 solutions which actually works, however with some issues.
Solution 1:
I used wkhtmltopdf.exe tool. I was able to make it work on my local machine.
However, when I deployed it to our Server, it stopped working until I notice that it's not working with intranet sites. When I tried extranet sites, it's working.
Solution 2:
I took an alternative solution by getting the HTML of that site, and let the wkhtmltopdf.exe tool to make it PDF which also works, however, the data on my page that I'm trying to convert to PDF is database driven. So all information including images was not supplied when it was converted to PDF.
Please help if there's a way to make the wkhtmltopdf.exe tool work in Intranet Sites(solution 1) or
how I can retrieve the whole page including data and images when converting it to PDF(solution 2)
Thank you very much!
it stopped working until I notice that it's not working with intranet sites.
That is not an exhaustive problem report. I have done it by rendering a view to a string and then converting that string to a pdf using wkhtmltopdf.
Rendering the view to a string: Render a view as a string
i did not include wkhtmltopdf direct, rather I used the tuespechkin nuget package: https://github.com/tuespetre/TuesPechkin
I would say to look at the permissions available. Intranet sites normally have different permission levels than a public facing site. It could be that the public facing sites have permissions that have been applied to the .exe such as the IIS_IUSR account to enable it to work with anonymous guest accounts, but lack the permissions needed in an intranet which often uses the domain user account of the logged in user to authenticate resources.
For whtmltopdf software to generate pdf on your intranet server, you need to have 2 files msvcp120.dll & msvrp120.dll in the same folder as wkhtmltopdf.exe file to running from server side. Hope this helps.
I've written a simple console application in VS what users should retrieve from a website. In IE I'm able to download by right-click -> 'Save target as...', but a simple click on the link drops me the below error.
I've "googled" around and it seems there is no reliable way to force the download and skip the choice of direct running.
Is it possible that my app has some signature or security issues? How can I avoid this error?
*edit: It's just a standalone program, not an installer.
*edit2: Not a duplicate, it has to work on a static html page.
After removing ClickOnce manifest signature I don't get the error, and I can download it without any issues.