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 | | a****f 发帖数: 29 | | 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 | | 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 的大作中提到】 : :
|
|