Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: date validation

Reply
Thread Tools

Re: date validation

 
 
Andrew Morton
Guest
Posts: n/a
 
      07-03-2008
Mark Rae [MVP] wrote:
> There is, generally speaking, no need to use server-side validation
> for data entry as this can be just as easily accomplished client-side
> - the obvious exception to this is when data needs to be validated
> against server-side resources e.g. a database etc...


Surely you should mention the caveat about protecting against malicious
users who might bypass the client-side validation for the purposes of SQL
injection, XSS, or just plain invalid data?

Andrew


 
Reply With Quote
 
 
 
 
Andrew Morton
Guest
Posts: n/a
 
      07-03-2008
Mark Rae [MVP] wrote:
> As for invalid dates specifically, they can be avoided completely by
> using a calendar control, the premise being that if users can't
> actually type a date into a field they can't type an invalid date
> into a field...


I was writing about malicious users in particular, who will have
tools/browser add-ons to alter the data en route from the browser to the
server or enter data directly into hidden fields - or does ASP.NET validate
the raw data in some way?

Andrew


 
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
Date, date date date.... Peter Grison Java 10 05-30-2004 01:20 PM
Given a date, how to find the beginning date and ending date of that week Matt ASP General 11 11-08-2003 11:24 PM
Given a date, how to find the beginning date and ending date of that week Matt ASP .Net 1 11-08-2003 09:14 PM
Given a date, how to find the beginning date and ending date of that week Matt C Programming 3 11-08-2003 09:07 PM
Given a date, how to find the beginning date and ending date of that week Matt C++ 2 11-08-2003 08:30 PM



Advertisments