由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - How to add the password to a homepage?
相关主题
webserver setup helpHELP: web hosting ---new guy
想在网页上加一部分只有member才能看到的[转载] question on Javascript..sorry.
[转载] 一个土问题如何为网页加入密码功能
问一个土问题 关于 urlJavascript的问题
is IIS server4.0 free download?how to get pop window to ask for password without showing my index page
win2000 webserver questionscript question
How to log webserver performance?IIS
a PHP mail() question on window IIS serverRe: Any other ways to add password protection on NT server?
相关话题的讨论汇总
话题: password话题: homepage话题: add话题: html话题: page
进入BuildingWeb版参与讨论
1 (共1页)
s*******s
发帖数: 133
1
Now I try to set up a website. For some reason,
I'd like to only let some of my friends to visit, so
I want to add the password to the homepage.
Anyone who can tell me how to add the password to a
homepage?
I have no software, just use HTML language to do it.
Thanks!
p*****e
发帖数: 58
2
Basically HTML does not have any security capability.
Although you can put a "password" field ( type='password'>) on your page, you need an executable
program to help you authenticate the user login and
password. Definitely you need to learn more than just HTML.
Authentication can be done by your webserver/OS such as
IIS/NT, or user program w/database or file, such as CGI,
ASP, JSP. With pure HTML you can almost do nothing for a
website.


【在 s*******s 的大作中提到】
: Now I try to set up a website. For some reason,
: I'd like to only let some of my friends to visit, so
: I want to add the password to the homepage.
: Anyone who can tell me how to add the password to a
: homepage?
: I have no software, just use HTML language to do it.
: Thanks!

a****f
发帖数: 29
3
其实可以加得, 很简单在HTML文件名上动点脑筋.
我的主页就是这么干的.

【在 p*****e 的大作中提到】
: Basically HTML does not have any security capability.
: Although you can put a "password" field (: type='password'>) on your page, you need an executable
: program to help you authenticate the user login and
: password. Definitely you need to learn more than just HTML.
: Authentication can be done by your webserver/OS such as
: IIS/NT, or user program w/database or file, such as CGI,
: ASP, JSP. With pure HTML you can almost do nothing for a
: website.
:

l******t
发帖数: 108
4
你是把文件名作为密码告诉朋友么?

【在 a****f 的大作中提到】
: 其实可以加得, 很简单在HTML文件名上动点脑筋.
: 我的主页就是这么干的.

a****f
发帖数: 29
5
对. 不过稍微做一下, 用Javascript 自动去访问
http://your.host/your/path/XXXXX.html
其中XXXXX是用户输入的密码. 如果输入不对就是一个"文件未找到"(402)

【在 l******t 的大作中提到】
: 你是把文件名作为密码告诉朋友么?
p*****e
发帖数: 58
6
Since JavaScript is all sent to the web browser you don't
really have security although your trick can fool many
people.

【在 a****f 的大作中提到】
: 对. 不过稍微做一下, 用Javascript 自动去访问
: http://your.host/your/path/XXXXX.html
: 其中XXXXX是用户输入的密码. 如果输入不对就是一个"文件未找到"(402)

a****f
发帖数: 29
7




p*****e
发帖数: 58
8
Your hidden page can still be caught by search engines when
they are transmitted through the network, and kepted in
their database (if your page is lucky). Then it is very
possible that your page appears in a search result by
anybody.
If not such thing as search engine, then:
If you don't tell me your entry page, I don't know you have
such page. Just the same, if you don't tell me the hidden
page I will not know it, so I will not visit it. Telling
your page to friends as a password is nothing

【在 a****f 的大作中提到】
:
:

:
:
1 (共1页)
进入BuildingWeb版参与讨论
相关主题
Re: Any other ways to add password protection on NT server?is IIS server4.0 free download?
web security questionwin2000 webserver question
一个有关php的问题How to log webserver performance?
一个简单的动态网页设计问题a PHP mail() question on window IIS server
webserver setup helpHELP: web hosting ---new guy
想在网页上加一部分只有member才能看到的[转载] question on Javascript..sorry.
[转载] 一个土问题如何为网页加入密码功能
问一个土问题 关于 urlJavascript的问题
相关话题的讨论汇总
话题: password话题: homepage话题: add话题: html话题: page