保护网站形式框架集加载另一个uri [英] protecting site form frameset loading on another uri

查看:52
本文介绍了保护网站形式框架集加载另一个uri的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,经过几个月的学习,写作和开发我的网站,

(并在几天内收集用户),一个人包括

我的整个网站在他的域名下。在框架集中:


< frame src =" http://fotozine.org / ....


我能做什么停止这样的事情?不只是为了这个特别的人

和他的网站,但在genaral?


(对不起我笨拙的英语)

Janko


-

fotozine.org

" zicani okidac"

-

well, after several months of learning, writing and developing my site,
(and colecting hunderts of users in few days) one person have "included"
my whole site under his domain. in frameset:

<frame src="http://fotozine.org/....

what can I do to stop such things? not just for this particular person
and his site, but in genaral?

(sorry on my clumsy english)
Janko

--
fotozine.org
"zicani okidac"
--

推荐答案

Fotozine写道:
Fotozine wrote:
好吧,经过几个月的学习,写作和开发我的网站,
(并在几天内收集用户的数量)一个人包括我的整个网站在他的域名下。在框架集中:

< frame src =" http://fotozine.org / ....

我该怎么做才能阻止这些事情发生?不只是为了这个特别的人和他的网站,而是在genaral?

(对不起我笨拙的英语)
Janko
well, after several months of learning, writing and developing my site,
(and colecting hunderts of users in few days) one person have "included"
my whole site under his domain. in frameset:

<frame src="http://fotozine.org/....

what can I do to stop such things? not just for this particular person
and his site, but in genaral?

(sorry on my clumsy english)
Janko







用PHP?

不是很多。


你可以生活对于那些包含你的

页面的人来说,使用javascript更加困难。


没有担保,但是如下所示的简单伎俩迫使另一个人

来解析你的页面并删除javascript


< script type =" text / javascript">

if(parent.frames){

//我们有一个框架集

alert(此信息被以下内容偷走:......);

location =" www.disneyworld.com";

}

< / script>


问候,

Erwin Moller



Hi,

With PHP?
Not a lot.

You could however make life more difficult for people that include your
page, with javascript.

No guarantuees, but simple tricks like the following forces the other person
to parse you page and remove the javascript:

<script type="text/javascript">
if (parent.frames) {
// we have a frameset
alert("This information was stolen by:....");
location = "www.disneyworld.com";
}
</script>

Regards,
Erwin Moller


Erwin Moller

< si ******** ********************************** @ spam yourself.com>写道:
Erwin Moller
<si******************************************@spam yourself.com> wrote:
< script type =" text / javascript">
if(parent.frames){
//我们有一个框架集
alert(此信息被以下内容窃取:......);
location =" www.disneyworld.com" ;;
}
< / script>
<script type="text/javascript">
if (parent.frames) {
// we have a frameset
alert("This information was stolen by:....");
location = "www.disneyworld.com";
}
</script>




tnx,我会试试。这样的信息可以从/ width



tnx, I will try. can such information be taken from/width


_SERVER

变量吗?


-

fotozine.org

" zicani okidac"

-
_SERVER
variable?

--
fotozine.org
"zicani okidac"
--


这篇关于保护网站形式框架集加载另一个uri的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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