Web 应用程序如何通过代码识别点击是否来自另一个 Web 应用程序?

发布于 2024-09-03 22:42:39 字数 301 浏览 5 评论 0原文

我们有一个 Web 应用程序,用户可以从 ERP 系统数据中获取在线报告...我们还有另一个供我们的教师和员工使用的 Web 应用程序。

我们无法更改 ERP Web 应用程序,因为它是一个封闭的 DLL,在这种情况下,我们在自定义内部 Web 应用程序中创建了一些扩展功能,并且我们愿意将此功能放在 ERP Web 应用程序的“菜单”上。

我需要通过以下方式集成这两个应用程序:

当我单击 ERP Web 应用程序的菜单时,我希望我们的内部 Web 应用程序断言该点击来自我们的 ERP Web 应用程序,而不是输入 URL,这有可能吗?

we have a web application that users can take online reports from ou ERP system data... And we have another web application that is used by our teachers and employees.

We can't change the ERP web app because its a closed DLL, in this case we made some extended functionality in our custom internal web app and we are willing to put this functionality on the "menu" of the ERP web app.

I need to integrate the two applications in the following way:

When I click in the menu of the ERP web app, I want that our internal web app assert that the click have come from our ERP web app and not typed in the URL, this is possible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

尘世孤行 2024-09-10 22:42:40

考虑下面名为 HTTP_REFERER 的 ServerVariable 是一些文档的链接

http://www.w3schools.com/ asp/coll_servervariables.asp

Consider the ServerVariable called HTTP_REFERER below is a link to some documentation

http://www.w3schools.com/asp/coll_servervariables.asp

友欢 2024-09-10 22:42:40

在内部应用程序的请求中查找服务器变量 HTTP_REFERER。您应该能够将其与已知值进行比较。

Look for the server variable HTTP_REFERER in your internal app's request. You should be able to compare that against a known value.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文