仅允许从指定站点访问。 [英] To allow access only from the designated site.

查看:71
本文介绍了仅允许从指定站点访问。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法可以限制访问我的网站吗?我有一个网站A和

我想只允许从网站B访问它。登录用户。


如果有人试图访问网站A目录,我希望它重定向到网站

" B"登录在网站B登录后,您会看到指向网站A的链接。当你单击它时,你会看到网站A的登录页面。


有可能吗?


谢谢。

Ben

Is there any way I can limit the access to my website? I have a site "A" and
I want to allow access to it only from site "B" login user.

If someone try to access site "A" directory, I want it redirected to site
"B" for login. After login at site "B", you see the link to site"A". When
you click it, you see login page for site "A".

Is it possible?

Thanks.
Ben

推荐答案


_SERVER [''HTTP_REFERER '']

6月28日下午3:02,Ben Sehara < seh ... @ hotmail.comwrote:
_SERVER[''HTTP_REFERER'']
On Jun 28, 3:02 pm, "Ben Sehara" <seh...@hotmail.comwrote:

有什么办法可以限制访问我的网站吗?我有一个网站A和

我想只允许从网站B访问它。登录用户。


如果有人试图访问网站A目录,我希望它重定向到网站

" B"登录在网站B登录后,您会看到指向网站A的链接。当你单击它时,你会看到网站A的登录页面。


有可能吗?


谢谢。

Ben
Is there any way I can limit the access to my website? I have a site "A" and
I want to allow access to it only from site "B" login user.

If someone try to access site "A" directory, I want it redirected to site
"B" for login. After login at site "B", you see the link to site"A". When
you click it, you see login page for site "A".

Is it possible?

Thanks.
Ben



.. oO(lnsoso)
..oO(lnsoso)

>
>


这篇关于仅允许从指定站点访问。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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