How to download a file as Trusted file

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

How to download a file as Trusted file

Postby harikishan8 » Mon Jan 08, 2018 6:42 pm

Hi,

When I download a file in CefClient, say for example the URL looks like http://chrometest.prod.factset.com/Cont ... dFile.pptx, the file is downloaded as an untrusted/ blocked file (Refer to Untrusted or Blocked Downloaded File.jpg).

But, when I download the same file using that URL in Chrome, it downloads it as a trusted/unblocked file (Refer to Trusted Downloaded File.jpg).

I can see that Cef calls DownloadTargetCallback here: https://bitbucket.org/chromiumembedded/ ... ate.cc-165.

Chrome does seem to call the callback with similar arguments here: https://cs.chromium.org/chromium/src/ch ... =CSs&l=983

Is there some flag or setting that we need to set from Cef in order to download the file as a trusted file?
Please let me know if I am missing something.

Thanks,
Hari.
Attachments
Trusted Downloaded File.JPG
Trusted Downloaded File.JPG (43.78 KiB) Viewed 4398 times
Untrusted or Blocked Downloaded file.JPG
Untrusted or Blocked Downloaded file.JPG (51.03 KiB) Viewed 4398 times
harikishan8
Newbie
 
Posts: 2
Joined: Mon Jan 08, 2018 5:38 pm

Re: How to download a file as Trusted file

Postby harikishan8 » Fri Jan 19, 2018 12:27 pm

Any updates on this?
harikishan8
Newbie
 
Posts: 2
Joined: Mon Jan 08, 2018 5:38 pm

Re: How to download a file as Trusted file

Postby magreenblatt » Thu Feb 01, 2018 9:50 pm

You filed https://bitbucket.org/chromiumembedded/ ... ted-domain for this. You can watch that issue for updates.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 48 guests