how far can javascript go?

This is a discussion on "how far can javascript go?" within the JavaScript Forum section. This forum, and the thread "how far can javascript go? are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old May 7th, 2004, 17:33
Junior Member
Join Date: Apr 2004
Location: USA
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
how far can javascript go?

I am still learning all of this and am not up on javascript as much as I should be, but I do have a question regarding its capabilities.

The question is can javascripts in the wrong hands implement permanent changes to a users system? I know about the sandbox theory Sun advertises but I have heard comments which led me to ask.

I know javascript can’t reformat a hard drive or do other virus activities, but can it change a browsers homepage or initiate other changes the user may not want?

What prompted me to ask this is there is a lot of concern on the Ebay message boards these days. Every scam artist in the world has targeted Ebay users recently and the con is to send fraudulent email to users that is indistinguishable from ebay’s.

The scare is that hitting the link on this email will take you to a site where the user could have a key mapper program or some other spyware loaded on their machine that security software might not detect.

The reason I am asking is the site I am working on uses a reasonable amount of javascript. My concern is if users see this as a threat they will disable java and kill most of the features like mortgage calculators, etc.

So how far can javascript really go?

If it can change browser home pages or other settings without the users consent, it is going to be disabled by most people as soon as word gets out.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old May 7th, 2004, 18:07
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Years ago there were some potential security problems, but those have all be removed. Most everyone (as far as I know) has javascript enabled. (note that java and javascript are two different things, and from what you say i'm thinking you're talking javascript)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old May 7th, 2004, 18:11
Junior Member
Join Date: Apr 2004
Location: USA
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
that's correct- I am referring only to javascript
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old May 7th, 2004, 18:50
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
You can't change a browser's homepage - In all browsers I know, it asks you if you want to change your homepage ( I believe ). Javascript has been used for so long and so widely that I don't think there are many (if any) security problems that remain.

With regards to ebay - That problem is not a javascript problem as far as I'm aware, but probably a problem with activex controls or the like. Javascript can't "install" anything on your system. It can probably log keypresses...but only for the page you're on.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old May 7th, 2004, 19:39
Junior Member
Join Date: Apr 2004
Location: USA
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Another reason I was asking is I was on a javascript site and a poster was saying he had completed a script which would change a users homepage without asking. And that he would post it soon.

A lot of the people over there were pretty excited about being able to do that. I just did not know if the guy was full of it or not.

I think it was on javascript.com that I saw the message.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old May 8th, 2004, 01:57
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Actually I have had my homepage changed without me wanting it to be changed... I think it's more of a spyware thing. Because Every JavaScript I have ever seen can't Force me to bookmark a page.

Also, as for the e-bay thing. I have heard of some recent scams , and from what I heard they were posting fake e-bay bids and when the person clicks the email (that looks like its from ebay) it take's them to a page that looks identical and asks them to log-in. They are then taking that information and stealing people's accounts. This almost happened to my dad, but luckily I was there and warned him about the Location of the page he was at... It wasn't www.ebay.com , but some other link.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old May 10th, 2004, 09:01
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
The technical term for that type of email scam is "phishing". It has nothing to do with javascript.

You need to read up on the difference between the client and the server, and the capabilities of each.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
far, javascript

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
php and javascript yvettesio JavaScript Forum 8 Mar 14th, 2007 23:18
JavaScript cbrams9 JavaScript Forum 1 Sep 20th, 2006 17:35
using xml in javascript shailu JavaScript Forum 0 Jul 25th, 2006 07:36
Can someone help me with this javascript Galaxyblue JavaScript Forum 2 Mar 11th, 2004 12:18
what does \\ mean in javascript jenjen1018 JavaScript Forum 5 Jan 6th, 2004 17:05


All times are GMT. The time now is 22:16.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42