Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: Sending a mail with Perl, nah.. the same and same question...

by heatblazer (Scribe)
on Mar 29, 2012 at 13:21 UTC ( [id://962392]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Sending a mail with Perl, nah.. the same and same question...
in thread Sending a mail with Perl, nah.. the same and same question...

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^5: Sending a mail with Perl, nah.. the same and same question...
by MidLifeXis (Monsignor) on Mar 29, 2012 at 13:38 UTC

    Simple example, not necessarily related directly to your script.

    Let's say that a password change interface verifies in javascript that the user's password is not blank. What is to stop me from turning off javascript, just issuing the HTTP call directly to your script and bypassing your javascript verification? If you do not check it on the server, you cannot be certain that the data is valid.

    In short (as was said earlier), the checks on the server are the important ones. You cannot assume that anything on the client has run. The client needs to be considered completely outside of your control. Javascript is only a suggestion for the browser to run something :-). A telnet client (or netcat, or curl, or...) is all that one needs to reach out and touch your server. The checks on the client side should only be used to improve the user experience.

    --MidLifeXis

Re^5: Sending a mail with Perl, nah.. the same and same question...
by ww (Archbishop) on Mar 29, 2012 at 13:33 UTC

    Sorry, but - - for that request.

    You've already received numerous tips on the issue... yet now you're asking us to write a tutorial for you?

    Consider: you'll learn more by doing your own research... especially if that means getting a grasp on fundamentals, like the language used in the refs already provided.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://962392]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-03-29 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found