[SC-L] Some Interesting Topics arising from the SANS/CWE Top 25

Johan Peeters yo at secappdev.org
Wed Jan 14 15:16:50 EST 2009


> What is a business rule? Something like "If the customer has changed
> the shipment address from a previous order, we must re-request his or
> her credit card details"?  How would you implement *that* using input
> validation?
>

The example I often use is 'equity can only be used as debt
collateral, if it has a rating' :-)
Before setting to work on your example, Florian, I would rephrase it
as 'the date of entry of the shipment address must not be after the
date of entry of credit card details'. I would then consider this an
input validation problem.

kr,

Yo
-- 
Johan Peeters
http://johanpeeters.com


More information about the SC-L mailing list