密码保护 [英] Password protection

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

问题描述

我需要一个方案来让人们密码访问JavaScript测验

我有。

我做了很多编程但几乎没有JS。


五个测试中每个人可能需要一个密码。


我怀疑我会维护列表但是如果有*非常*简单的最终用户可以使用的例行程序很好。

通常需要五次以上的访问才能让这个人接受任何新的东西。


我可能会找到这样一个野兽的想法吗?

我一直在寻找但到目前为止运气不大。

I need a scheme to give people password access to JavaScript quizzes that
I have.
I''ve done a lot of programming but almost no JS.

Probably one password per person for each of five tests.

I suspect I will be maintaining the lists but if there is a *very* easy
routine that an end user could use it would be nice.
It usually takes more than five visits to get this guy up on anything new.

Any ideas where I might find such a beast?
I''ve been looking but with little luck so far.

推荐答案

在文章< d6 *********************** @ bgtnsc05-news.ops.worldnet.att.net> ,

" Mike Painter" < MD ********* @ att.net>写道:
In article <d6***********************@bgtnsc05-news.ops.worldnet.att.net>,
"Mike Painter" <md*********@att.net> writes:
我需要一个方案让人们密码访问我有的JavaScript测验。
我做了很多编程,但几乎没有JS。
I need a scheme to give people password access to JavaScript quizzes that
I have.
I''ve done a lot of programming but almost no JS.




使用服务器端语言(PHP,ASP,服务器端Javascript等)任何

你尝试做的事情浏览器,关于多个用户/密码,将会b / b
失败。


尽管Jim Ley向我展示了一个密码保护页面这很漂亮

spiffy。我还没有打破它。但是,它不包含

页面中的密码,密码是解密页面的关键。


如果密码在页面,它可以/将被打破,很容易。

-

兰迪



Use a server side language (PHP, ASP, Server Side Javascript, etc.) Anything
you try to do in the browser, with regards to multiple users/passwords, will
fail.

Although Jim Ley showed me a page that is "password protected" that is pretty
spiffy. I have yet to break it. But, it doesn''t contain the password in the
page, the password is a key to decrypting the page.

If the password is in the page, then it can/will be broken, and quite easily.
--
Randy




" HikksNotAtHome" <喜************ @ aol.com>在消息中写道

news:20 *************************** @ mb-m10.aol.com。 ..

"HikksNotAtHome" <hi************@aol.com> wrote in message
news:20***************************@mb-m10.aol.com...
在文章< d6 *********************** @ bgtnsc05-news.ops.worldnet.att.net> ;,
迈克画家 < MD ********* @ att.net>写道:
In article <d6***********************@bgtnsc05-news.ops.worldnet.att.net>,
"Mike Painter" <md*********@att.net> writes:
我需要一个方案让人们密码访问JavaScript测验
我有。
我做了很多编程,但几乎没有JS 。
使用服务器端语言(PHP,ASP,服务器端Javascript等)
I need a scheme to give people password access to JavaScript quizzes thatI have.
I''ve done a lot of programming but almost no JS.
Use a server side language (PHP, ASP, Server Side Javascript, etc.)



您尝试在浏览器中执行的有关多个用户/密码的任何内容,
将失败。

虽然Jim Ley向我展示了一个密码保护的页面。这是
非常漂亮。我还没有打破它。但是,它不包含页面中
的密码,密码是解密页面的关键。

如果密码在页面中,那么它可以/将会是很简单,很容易


Anything you try to do in the browser, with regards to multiple users/passwords, will fail.

Although Jim Ley showed me a page that is "password protected" that is pretty spiffy. I have yet to break it. But, it doesn''t contain the password in the page, the password is a key to decrypting the page.

If the password is in the page, then it can/will be broken, and quite






如果这个人愿意为此工作并拥有技能并且

密码在页面中,他们可以看到页面,加密是

简单,他们可以打破它。


对于那种类型我可能会使用我见过的最简单的方法,并使用该文件的

名称作为密码。假设他们看不到

服务器上的内容,那就是你可以获得的安全性。


99.999%的那些将参加这些测验的人会更好。

在书中学习或查找答案。


easily.

Granted if the person is willing to work at it and has the skills and the
password is in the page and they can see the page and the encryption is
simple enough they can break it.

For that type I would probably use the simplest method I''ve seen and use the
name of the file as the password. Assuming they can''t see what''s on the
server that''s about as secure as you can get.

99.999% of the people who will be taking these quizzes would be better off
studying or looking the answers up in the book.





Mike Painter写道:
Hi,

Mike Painter wrote:
" HikksNotAtHome" <喜************ @ aol.com>在消息中写道
新闻:20 *************************** @ mb-m10.aol.com ...
"HikksNotAtHome" <hi************@aol.com> wrote in message
news:20***************************@mb-m10.aol.com...
在文章< d6 *********************** @ bgtnsc05-news.ops.worldnet.att.net> ;,
迈克画家 < MD ********* @ att.net>写道:

In article <d6***********************@bgtnsc05-news.ops.worldnet.att.net>,
"Mike Painter" <md*********@att.net> writes:

我需要一个让人们密码访问JavaScript测验的方案
我有。
我已经做了很多编程,但几乎没有JS。
I need a scheme to give people password access to JavaScript quizzes
that
I have.
I''ve done a lot of programming but almost no JS.



使用服务器端语言(PHP,ASP,服务器端Javascript等)



Use a server side language (PHP, ASP, Server Side Javascript, etc.)


任何

你试图在浏览器中做多关于多个用户/密码,
you try to do in the browser, with regards to multiple users/passwords,





will

失败。

虽然Jim Ley向我展示了一个密码保护的页面。那是
fail.

Although Jim Ley showed me a page that is "password protected" that is



漂亮



pretty

spiffy。我还没有打破它。但是,它不包含
spiffy. I have yet to break it. But, it doesn''t contain the password in





the

页面中的密码,密码是解密页面的关键。 />
如果密码在页面中,那么它可以/将被破坏,并且很容易
page, the password is a key to decrypting the page.

If the password is in the page, then it can/will be broken, and quite





如果是这个人的话我愿意为它工作,并且技能和密码都在页面中,他们可以看到页面,加密非常简单,可以打破它。

对于那种类型,我可能会使用我见过的最简单的方法,并使用文件的名称作为密码。假设他们无法看到
服务器上的内容与您可以获得的内容一样安全。

99.999%的人将参加这些测验最好还是在书中学习或寻找答案。



easily.

Granted if the person is willing to work at it and has the skills and the
password is in the page and they can see the page and the encryption is
simple enough they can break it.

For that type I would probably use the simplest method I''ve seen and use the
name of the file as the password. Assuming they can''t see what''s on the
server that''s about as secure as you can get.

99.999% of the people who will be taking these quizzes would be better off
studying or looking the answers up in the book.




然后不要用密码保护它们。如果你这样做,你会侮辱那些能够找到密码的人的智慧。如果他们选择在

页面中寻找答案,请让他们自己承担责任

。这不再是你的问题。


你在客户端做的任何事情(甚至你的文件名=密码技巧)都可以轻易击败
。 br />

Laurent

-

Laurent Bugnion,GalaSoft

网页设计,Java,javascript http://www.galasoft-LB.ch

私人/马来西亚: http://mypage.bluewin.ch/lbugnion

支持加尔各答的儿童: http:// www。 calcutta-espoir.ch



Then don''t password protect them. If you do, you insult the intelligence
of those who are able to find the password. Just let them be responsible
for their own failure if they choose to look for the answers in the
page. It''s not your problem anymore.

Anything you do on the client (even your file name = password trick) can
be easily defeated.

Laurent
--
Laurent Bugnion, GalaSoft
Webdesign, Java, javascript: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch


这篇关于密码保护的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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