如何控制谁使用我的网络小部件 [英] How to control who uses my web widget

查看:45
本文介绍了如何控制谁使用我的网络小部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个网络小部件,用于显示我网站上的用户特定信息.这个小部件是基于 Java 脚本的(我遵循了 这个例子),并且可以嵌入到其他网站中.

I've created a web widget that displays user specific information from my site. This widget is java script based (I followed this example), and can be embedded in other sites.

我正在寻找一种方法来控制谁可以在他的网站中嵌入小部件.欢迎提供任何想法/参考.

I'm looking for a way to control who can embed the widget in his site. Any ideas/references are welcome.

推荐答案

你必须使用一些额外的技巧和 OAuth 来确定客户端.

You have to use some additional tricks along with OAuth in order to positively identify the client.

这个问题在中有详细回答这里.

这篇关于如何控制谁使用我的网络小部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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