![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
In article <d6ucb.157716$3o3.11280827 (AT) bgtnsc05-news (DOT) ops.worldnet.att.net>, "Mike Painter" <mdotpainter (AT) att (DOT) net> writes: 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. 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. |
#4
| |||
| |||
|
|
"HikksNotAtHome" <hikksnotathome (AT) aol (DOT) com> wrote in message news:20030925005031.21457.00000858 (AT) mb-m10 (DOT) aol.com... In article <d6ucb.157716$3o3.11280827 (AT) bgtnsc05-news (DOT) ops.worldnet.att.net>, "Mike Painter" <mdotpainter (AT) att (DOT) net> writes: 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. 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. 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. |
#5
| |||
| |||
|
|
Hi, Mike Painter wrote: "HikksNotAtHome" <hikksnotathome (AT) aol (DOT) com> wrote in message news:20030925005031.21457.00000858 (AT) mb-m10 (DOT) aol.com... In article d6ucb.157716$3o3.11280827 (AT) bgtnsc05-news (DOT) ops.worldnet.att.net>, "Mike Painter" <mdotpainter (AT) att (DOT) net> writes: 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. 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. 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. 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 Actually, you can use javascript to securely password protect a page. |
#6
| |||
| |||
|
|
Actually, you can use javascript to securely password protect a page. But the effort to maintain such a page is excessive. |
#7
| |||
| |||
|
|
In article <ixGcb.24145$an.2973 (AT) bignews6 (DOT) bellsouth.net>, Jerry Park NoReply (AT) No (DOT) Spam> writes: Actually, you can use javascript to securely password protect a page. But the effort to maintain such a page is excessive. And have the password in the page? Or are you referring to something like Jim gave me? I can't find the link but the password was the key to the crypto. If the password is in the page, its trivial to defeat it though. -- Randy |
#8
| |||
| |||
|
|
Hi, snip Anything you do on the client (even your file name = password trick) can be easily defeated. How can it be easily defeated? |
#9
| |||
| |||
|
|
Assume these lines are in the body of the text: *********** It may seem easy for some to find a password. However for most people the job can be very difficult. At some point the user will give up before finding it. This especially true if the pages include files that don't appear on the page. *********** What is the password? (And it's not password?) |
#10
| |||
| |||
|
|
"Laurent Bugnion, GalaSoft" <galasoft-LB (AT) bluewin_NO_SPAM (DOT) ch> wrote in message news:bkv7hb$jt4$1 (AT) rex (DOT) ip-plus.net... Hi, snip Anything you do on the client (even your file name = password trick) can be easily defeated. How can it be easily defeated? |
![]() |
| Thread Tools | |
| Display Modes | |
| |