Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Saturday, May 18 2013 @ 09:01 AM EDT

Would you use Javascript on your GL site?

1/1: Would you use Javascript on your GL site?

 Yes 438 (63.85%)
 No
248 (36.15%)
Other polls | 686 voters | 9 comments

The following comments are owned by whomever posted them. This site is not responsible for what they say.

  • Would you use Javascript on your GL site?
  • Authored by:Anonymous on Tuesday, June 01 2004 @ 06:11 PM EDT
Linux does not have java by default. Many Linux users do not even use java.. so it is best to stay away from it. Using PHP and MYSql is good enough ;)

Kind regards,
Redfrog
  • Would you use Javascript on your GL site?
  • Authored by:drshakagee on Wednesday, June 02 2004 @ 12:17 AM EDT
Javascript and Java are two totally different things, the only similarity is
the name.

---
I am not an actor but I do play one on TV
  • Would you use Javascript on your GL site?
  • Authored by:ScurvyDawg on Wednesday, June 02 2004 @ 05:13 PM EDT
Thats correct Dr. Javascript has nothing to do with the Java language except a similar name. It was originally called LiveScript.
  • Would you use Javascript on your GL site?
  • Authored by:mneptok on Friday, June 04 2004 @ 03:00 AM EDT
Actually, it was originally called ECMAscript. :)
  • Would you use Javascript on your GL site?
  • Authored by:r_f_o_t on Thursday, June 03 2004 @ 02:50 PM EDT
As long as it not browser specific. You know, embrace and extend, IE. ;)

Chuck

---
Up the Irons!
  • Would you use Javascript on your GL site?
  • Authored by:ByteEnable on Friday, June 04 2004 @ 11:09 PM EDT
I use javascript now on my GL site for the Navigation block. To see it in action just visit www.linuxelectrons.com.

Byte
  • Would you use Javascript on your GL site?
  • Authored by:cr33 on Monday, June 21 2004 @ 05:49 AM EDT
aren't we using javascript by default?
haven't checked all the layouts, but
XSilver reeks of roll-overs....

  • Would you use Javascript on your GL site?
  • Authored by:ronack on Wednesday, July 07 2004 @ 04:16 PM EDT
I use a lot of JavaScript in my GL sites, very little Java. I think PHP and JavaScript work quite well together. I imagine that most things done it JS can be done in PHP. However when the wheel is already created I see no need to recreate it.
  • Javascript for challenge authenticated logins into geeklog.
  • Authored by:howdy on Thursday, July 08 2004 @ 07:48 AM EDT
Using javascript to create md5 and sha1 hashes is pretty useful to ensure passwords never get sent in the clear when a user logs into a geeklog site.

All one has to do is generate a "salt" on the server end and send it to the user's web browser when they visit your site. When the user types in the login details on the client end and hits "login," the md5/sha1 hashing javascript takes the password, md5 hashes that password, concatenates the md5 hash with the server-generated salt, then sha1 hashes that and sends that sha1 hash to the server. The server then takes the md5 hash of the password it has in the database, concatenates that md5 hash with the salt that it previously sent to the client, generate a sha1 hash out of that, then compare what it generated to what it received from the client. If that matches, the login is considered valid and no plain text exchange of the password occured. Obviously, this isn't as logging into a site via SSL, but it is decent enough. Also, for "replay protection" (to prevent someone from simply sending the same sniffed sha1 hash to login as a particular user again, geeklog must change the salt it sends to the client after a successful login, or after a small timeout period (something like 2 minutes is good).

Post a Comment

Your Name
Create Account
Allowed HTML Tags:
 

Security code
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

What code is in the image?
Enter the bolded text, case sensitive!
Important Stuff
  • Please try to keep posts on topic.
  • Try to reply to other people comments instead of starting new threads.
  • Read other people's messages before posting your own to avoid simply duplicating what has already been said.
  • Use a clear subject that describes what your message is about.
  • Your email address will NOT be made public.