Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Fetch server zip file and read it using client javascript?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Java Jive  
View profile  
 More options Nov 14 2009, 9:49 pm
Newsgroups: alt.www.webmaster
From: Java Jive <j...@evij.com.invalid>
Date: Sat, 14 Nov 2009 19:49:02 +0000
Local: Sat, Nov 14 2009 9:49 pm
Subject: Re: Fetch server zip file and read it using client javascript?
On Sat, 14 Nov 2009 02:16:53 -0700, crankypuss <n...@email.thanks>
wrote:

> Java Jive <j...@evij.com.invalid> wrote:

> >..., it's just that I have done lots of
> >client-side scripting, but zilch server-side, so I would have to start
> >from scratch.

> If you're ever going to do something that's beyond what comes "out of
> the box" you'll need to get involved with some server-side scripting.
> At some point you started from scratch on client-side, server-side's
> not really any harder (though debugging can be a pain in the ass),
> it's only different.

I guess I'll have to take the plunge ...

> >Client side scripting is good for things like data entry cleanup &
> >control to prevent corrupt data getting back to the server,

> Cleanup yes, control no.  If you don't always assume that every piece
> of data your server receives is absolute garbage sent by some hacker,
> you're likely to run into trouble whether you're asking for it or not.
> Any bad data you keep away from your server by depending on
> client-side scripting, I can put into it by sending the data directly
> to the server without ever running your client-side code.  Don't think
> that sending the data encrypted makes any difference, if you're
> depending on client-side validation your server may end up getting
> securely encrypted garbage.

> Client-side scripting is not the place to validate data beyond the
> aspect of issuing descriptive error messages to help the user.  You
> can pop up cute message boxes, help make things easier for the user,
> have some kind of mini-app that figures out the data for him, maybe
> helps with navigation, but all data still needs to be checked when it
> reaches the server.  Client-side scripting is front-end stuff,
> user-interface enhancements, the minute you start putting
> functionality into client-side that the server depends on, you're
> offering yourself up to every hacker on the planet.

Yes, all good points.
--
=========================================================
Please always reply to ng as the email in this post's
header does not exist.  Or use a contact addresses at:
        http://www.macfh.co.uk/JavaJive/JavaJive.html
        http://www.macfh.co.uk/Macfarlane/Macfarlane.html

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google