I also faced the same scenario where the file is getting downloaded, which means it is accessible. Is there any way that we can open the file in browser instead of downloading.I am not trying to do it through DAM, instead I am trying to do that via codebase.