korkus2000

msg:1477678 | 4:48 am on Dec 27, 2002 (gmt 0) |
Are you using or do you have a server side language available? You could use a simple javascript since you don't need real security.
|
MarkLDE

msg:1477679 | 5:34 am on Dec 27, 2002 (gmt 0) |
I have no experience with server side programming...even though I believe CGI is available. I would prefer a simple javascript program. MarkLDE
|
MarkLDE

msg:1477680 | 5:37 am on Dec 27, 2002 (gmt 0) |
...a CLIENT SIDE javascript program. MarkLDE
|
BlobFisk

msg:1477681 | 10:17 am on Dec 27, 2002 (gmt 0) |
Korkus is right, this can be done with JavaScript... it can also be done very easily with a few lines of server-side script (ASP, CGI, PHP, JSP), which is more difficult to see the raw code of than JavaScript. The principle is simple: if name = allowed names then let them into the 'private' area else tell them they can't get in Server side code gets run at the server and only the necessary code is sent out to the client. However, there are a couple of JavaScripts here [javascript.internet.com] that may be of use.
|
Dreamquick

msg:1477682 | 10:22 am on Dec 27, 2002 (gmt 0) |
Not that I wish to pick holes... | create the appearance of privacy for legal purposes |
| If there are legal reasons for requiring privacy then surely this requires something more than just the "appearance" of being private? - Tony
|
BlobFisk

msg:1477683 | 10:24 am on Dec 27, 2002 (gmt 0) |
Dreamquick has a point - if there are legal implications then you should put some effort into this to cover your rear end. Server-side will be a must in this case, as there are just far too many holes in a client-side password system.
|
andreasfriedrich

msg:1477684 | 10:39 am on Dec 27, 2002 (gmt 0) |
| appearance of privacy for legal purposes |
| While I do not know any facts about your situation keep in mind that not any appearance of privacy will do. If all you do is require a client side javascript that contains the passwords in plain text then I would not consider that sufficiently private. Andreas
|
anon1

msg:1477685 | 5:40 pm on Dec 27, 2002 (gmt 0) |
Hello, If your looking for a no-cgi, easy to implement, and only appearance of security then maybe you want to look at the Gatekeeper javascript. This script will take an entered word (name or password) and then load a page that has that same name. They must know the name of the page in order to load the page. In your case: - You ask for the name that has invited them here to your site, say either Name1, Name2, or Name3. - You have in your web space three pages named Name1.html, Name2.html, and Name3.html. - Whatever name is entered at the Gatekeeper will return the corresponding page to the browser. - This might also benefit you by being able to tell, through your logs, which inviter is getting the most action. - These three pages could all be identical copies of each other or personalized with text or something referencing the person who invited them. You should be able to find the script if you google Gatekeeper (I don't know where I got it from) or I could e-mail it to you if required. -Anon1
|
MarkLDE

msg:1477686 | 6:45 pm on Dec 27, 2002 (gmt 0) |
Thank you all for writing. I have implemented EXACTLY what I wanted with a Javascript program adapted from "ThreeTries" which appeared on the page referenced by Blobfisk. :) While I also thank those who offered legal advice, this is NOT the forum where I discuss matters in that huge topic. MarkLDE
|
MarkLDE

msg:1477687 | 6:48 pm on Dec 27, 2002 (gmt 0) |
One more thing.... This site is AMAZING! Three times now I have posted technical questions and gotten EXCELLENT answers within a few hours that completely resolved the problems I was facing. THANK YOU. :) MarkLDE
|
|