dongzhuo3376 2011-11-30 03:44
浏览 8
已采纳

如何从无法通过地址栏访问的链接生成网页?

Is it possible to have PHP generate a page from a link on another page that contains links to download files but is not directly accessible through the address bar?

I have to build a sequence for an affiliate marketing program that goes as follows - Sales Page - Affiliate Checkout Page - Thank You Page.

I would like the customer to be able to download the files directly from the Thank You Page, however, I don't want a non-paying customer to be able to type the page address directly into the address bar and have access to the files.

Thanks for the input in advance, sorry if my question is vague, new at this :)

Dustin

  • 写回答

2条回答 默认 最新

  • dongyi0114 2011-11-30 03:47
    关注

    Don't use "obscurity" to hide such things. Have your download/report generator script check if the person requesting the script is allowed to access it, and redirect elsewhere if not.

    Using "hidden" urls is like a bank hoping that no one notices the vault is accessible via a screen door around back. Instead, eliminate that screen door and post a security guard in the lobby.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 python的qt5界面
  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100