需要脚本:阻止后门 [英] Script Required: Blocking Back Doors

查看:62
本文介绍了需要脚本:阻止后门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



您好

我不知道如何编写Javascript,但我是一名网页设计师。我想要一个易于使用的脚本(对于初学者),我可以使用t

阻止用户使用我所说的访问我的网站(我不会知道我

我得到了正确的术语)Back Doors:这样用户就无法访问m />
页面而无需通过pwd保护的正门。


例如我的网站是 www.johnsmith.com ,它有密码保护o

index.html文件,进入主页(home.html),其中
链接到网站的其余部分。但是,如果有人直接进入
home.html文件,绕过index.html文件,我的密码门我就没用了。


有没有办法将任何进入任何页面/文件的人重定向到我的网站
我的网站到index.html主页或只是阻止访问任何页面

除了通过另一个页面的特定链接?


我不知道我是否在正确的论坛,但来自我的(小)经验

Javascript是用于密码和那种东西,所以我想要b $ b检查我是否能在这里得到一些帮助。


欢呼


Anonymous

------------------------------------- ----------------------------------

通过 http://www.forum4designers.co

--------- -------------------------------------------------- ------------

查看此主题: http://www.forum4designers.com/message32622.htm

解决方案
>我不知道如何编写Javascript,但我是一名网页设计师。我是

寻找一个易于使用的脚本(对于初学者),我可以使用它来阻止用户使用我所称的访问我的网站(我不知道是否页面。


不可能。由于JavaScript在客户端运行,任何此类尝试都很容易被绕过。

例如我的网站是 www.johnsmith.com ,它在索引上有密码保护.html文件,进入主页(home.html),其中有链接到网站的其余部分。但是,如果有人直接访问
home.html文件,绕过index.html文件,我的密码门是无用的。


在所有页面上设置密码保护,并使其成为真正的密码

保护。

http://www.allmyfaqs.com/faq.pl?Password_protect

我不知道我是否在正确的论坛,但从我的(小)经验
Javascript用于密码和那种事情,所以我是
检查我是否可以在这里得到一些帮助。


Javascript不用于任何真正的安全性。

--------------------- -------------------------------------------------- -
通过 http://www.forum4designers.com 发布




Forum4designers似乎将Usenet作为自己的工作。我建议

避免它们。这是 news://comp.lang.javascript


-

David Dorward< http://dorward.me.uk/>


文章< Gu **********@mail.forum4designers.com>,
顾* *********@mail.forum4designers.com 启发我们...


您好
我不知道如何编写Javascript,但我是网页设计师。我正在寻找一个易于使用的脚本(适合初学者),我可以使用它来阻止用户使用我所说的访问我的网站(我不知道是否已经有了)正确的术语)Back Doors:这样用户无法通过pwd保护的正门访问我的
页面。


无法使用客户端脚本完成。

我的网站是 www.johnsmith.com

您的图片被破坏了。

它在index.html文件上有密码保护



我在任何浏览器中都没有问题。没有人要求输入密码。一堆

的链接虽然破了。

到达主页(home.html),



未找到

在此服务器上找不到请求的URL /home.html。


------------- -------------------------------------------------- ---------

--------


Apache / 1.3.14 Ben-SSL / 1.41服务器< a rel =nofollowhref =http://www.johnsmith.comtarget =_ blank> www.johnsmith.com 80号港口
链接到网站的其余部分。但是,如果有人直接访问
home.html文件,绕过index.html文件,我的密码门是无用的。

有没有办法重定向任何人谁去我的网站上的任何页面/文件到index.html主页或只是阻止访问任何页面
除了通过另一页面的特定链接?




你正在使用apache。

使用.htaccess。

Google吧。这就是OT。


-

-

~kaeli~

如果那个手机是你的


,也许你可以稍微开一个


http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace



Hi
I dont know how to program Javascript, but I am a web designer. I a
looking for an easy-to-use script (for a beginner) which i can use t
stop users from accessing my website using what I call (i dont know i
ive got the right term) "Back Doors": so that users cannot access m
pages without going through a pwd protected "front entrance".

e.g. my website is www.johnsmith.com and it has password protection o
the index.html file, to get to the homepage (home.html), which ha
links to the rest of the site. However, if someone goes straight to th
home.html file, bypassing the index.html file, my password gate i
useless.

Is there any way to either redirect anyone who goes to ANY page/file o
my site to the index.html homepage or just to block access to any page
except via a specific link from another page?

I dont know if im in the right forum, but from my (little) experienc
Javascript is used for passwords and that kind of thing, so I wa
checking if I could get some help here.

Cheer

Anonymous
-----------------------------------------------------------------------
Posted via http://www.forum4designers.co
-----------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message32622.htm

解决方案

> I dont know how to program Javascript, but I am a web designer. I am

looking for an easy-to-use script (for a beginner) which i can use to
stop users from accessing my website using what I call (i dont know if
ive got the right term) "Back Doors": so that users cannot access my
pages without going through a pwd protected "front entrance".
Not possible. As JavaScript runs client side, any such attempt is easily
bypassable.
e.g. my website is www.johnsmith.com and it has password protection on
the index.html file, to get to the homepage (home.html), which has
links to the rest of the site. However, if someone goes straight to the
home.html file, bypassing the index.html file, my password gate is
useless.
Put the password protection on all the pages, and make it real password
protection.

http://www.allmyfaqs.com/faq.pl?Password_protect
I dont know if im in the right forum, but from my (little) experience
Javascript is used for passwords and that kind of thing, so I was
checking if I could get some help here.
Javascript is not used for any real security.
------------------------------------------------------------------------
Posted via http://www.forum4designers.com



Forum4designers appear to be passing off Usenet as their own work. I suggest
avoiding them. This is news://comp.lang.javascript.

--
David Dorward <http://dorward.me.uk/>


In article <Gu**********@mail.forum4designers.com>,
Gu**********@mail.forum4designers.com enlightened us with...


Hi
I dont know how to program Javascript, but I am a web designer. I am
looking for an easy-to-use script (for a beginner) which i can use to
stop users from accessing my website using what I call (i dont know if
ive got the right term) "Back Doors": so that users cannot access my
pages without going through a pwd protected "front entrance".
Can''t be done with client-side script.

e.g. my website is www.johnsmith.com
Your images are broken.
and it has password protection
on the index.html file,
I had no problems in any browser. Nothing asked for a password. A bunch
of links are broken though.
to get to the homepage (home.html),

Not Found
The requested URL /home.html was not found on this server.

------------------------------------------------------------------------
--------

Apache/1.3.14 Ben-SSL/1.41 Server at www.johnsmith.com Port 80
which has
links to the rest of the site. However, if someone goes straight to the
home.html file, bypassing the index.html file, my password gate is
useless.

Is there any way to either redirect anyone who goes to ANY page/file on
my site to the index.html homepage or just to block access to any pages
except via a specific link from another page?



You''re using apache.
Use .htaccess.
Google it. That''s OT here.

--
--
~kaeli~
If that phone was up your a


, maybe you could drive a
little better!
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace


这篇关于需要脚本:阻止后门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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