Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Can Javascript increase the security of the data one a webpage?

Reply
Thread Tools

Can Javascript increase the security of the data one a webpage?

 
 
Daz
Guest
Posts: n/a
 
      11-08-2006
Hi.

Sorry I couldn't think of a better way to word the title for this
thread. My question is this:

Say I have a page that is generated totally dynamically by Javascript.
The code will generate several other pages using onClick events. Let's
say I had a normal piece of text on the page, made to look like a link
(without using the href attribute), and a user clicked on it.
<a onClick="show_contact_info()">Show contact information</a>

Would this prevent the majority of crawlers that search the web for
E-mail addesses from accessing this the information on this page? I am
not sure if a bot can follow an onClick event, or even read an E-mail
address from the actual JavaScript code itself.

Can anyone suggest the best way to store contact information in a way
that it wouldn't be accessable by the majority of crawlers, but
preferably without having to prompt the user for verification? I accept
that some crawlers may be advanced enough to do such things, which is
why I am mainly interested in preventing the majority of crawlers.

If I do need to get the user to confirm a code or something, then I am
happy to do so, but I thought this might make for an interesting
discussion.

Best wishes.

Daz.

 
Reply With Quote
 
 
 
 
Randy Webb
Guest
Posts: n/a
 
      11-08-2006
Daz said the following on 11/8/2006 1:24 PM:
> Hi.
>
> Sorry I couldn't think of a better way to word the title for this
> thread. My question is this:
>
> Say I have a page that is generated totally dynamically by Javascript.
> The code will generate several other pages using onClick events. Let's
> say I had a normal piece of text on the page, made to look like a link
> (without using the href attribute), and a user clicked on it.
> <a onClick="show_contact_info()">Show contact information</a>
>
> Would this prevent the majority of crawlers that search the web for
> E-mail addesses from accessing this the information on this page? I am
> not sure if a bot can follow an onClick event, or even read an E-mail
> address from the actual JavaScript code itself.
>
> Can anyone suggest the best way to store contact information in a way
> that it wouldn't be accessable by the majority of crawlers, but
> preferably without having to prompt the user for verification? I accept
> that some crawlers may be advanced enough to do such things, which is
> why I am mainly interested in preventing the majority of crawlers.
>
> If I do need to get the user to confirm a code or something, then I am
> happy to do so, but I thought this might make for an interesting
> discussion.


Use a form, submit the form, let the server send the email. The contact
info is secure. If they want other information, they can give there own
email address, submit the form and the server sends them an email with
the information.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
 
Reply With Quote
 
 
 
Reply

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to increase fontsize javascript JL HTML 1 03-03-2009 09:24 PM
How to Force Alpha-Numeric Passwords to increase network security? studyandcareer@yahoo.com Cisco 0 01-09-2007 10:52 AM
Re: Increase data folder size in agent program for bigger downloads Evan Platt Computer Support 0 08-10-2005 10:16 PM
2 cable modems increase speed one pc ABS Computer Support 5 08-04-2005 05:33 PM
Need speed increase while reading large chunk of data. Darsant C++ 8 06-11-2005 03:23 AM



Advertisments