是否可以在adobe reader中打开pdf网址? [英] Is it possible to open pdf urls in adobe reader?

查看:235
本文介绍了是否可以在adobe reader中打开pdf网址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个功能可以在浏览器中打开pdf url文件,现在客户希望我们在adobe reader中打开pdf url。可能吗?如果有可能请提供信息。



我尝试过:



we have a functionality to open the pdf url files in browser, now client wants us to open the pdf url in adobe reader. is it possible? if it's possible please provide the info.

What I have tried:

Dim prc As Process = New Process
      prc.StartInfo.FileName = "acroRd32.exe"
      prc.StartInfo.Arguments = "https://c94aabd264f2664c83b7-00d59eb10ca85f1979051abaa7e70239.ssl.cf2.rackcdn.com/workorder_2981-1_bradywarewashreportform_af429a09-8cde-42f0-afaa-8ec6942abe87_180227100510.pdf" '"C:\Users\madhukarg\Desktop\pdf.pdf"
      prc.Start()



这是我到目前为止已经尝试但它不起作用


this is i have tried so far but it's not working

推荐答案

你不能这样做可执行文件,以浏览器为准。服务器不能以任何方式强制客户端在本地打开可执行文件。

这是一件好事,因为允许它会打开大量恶意行为的大门。

如果您的客户想在他们的阅读器中打开pdf文件,他们必须分两步完成:

1.下载pdf文件

2.打开下载文件

您应该解释一下,希望您的服务器直接在其客户端计算机上启动可执行文件对他们来说是一个巨大的安全风险。有时对客户有利并不意味着盲目地遵循他们未受过教育的要求。
You cannot lauch an executable, whichever it is, from a browser. The server cannot, in any way, force the clients to open an executable locally.
And it is a good thing since allowing that would open the door to a lot of malicious behaviours.
If your clients want to open pdf files in their reader, they have to do it in two steps:
1. Download the pdf file
2. Open the downloaded file
You should explain them that wanting your server to directly launch an executable on their client machines would be a huge security risk for them. Sometimes being good to your clients does not imply blindly following their non-educated requirements.


这篇关于是否可以在adobe reader中打开pdf网址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆