Prevent a file (pdf) from being served in asp.net

前端 未结 2 2015
迷失自我
迷失自我 2021-01-23 09:10

I\'ve got a legacy flash app (no access to the source) that when it completes it opens a pdf in a new window automatically.

Is there some way to prevent this one file at

2条回答
  •  既然无缘
    2021-01-23 10:02

    You could lock the file down on the web server or delete it? If you can't alter the source you can't prevent the window.open from happening, but you can prevent the delivery.

提交回复
热议问题