Skip to content

roglew/clientcontrolsdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

(Improper) Input Validation Example

As everyone should know, you never trust the data that the client sends to your server. I threw together this simple flask site for a simple demo of a server which blindly trusts the client when performing stock trades. The user view page uses javascript to make sure the user doesn't enter any invalid values for buy/sell numbers, but the server does no checks. Can you get $1,000,000 from it?

About

A simple site for a class demo on why client-side controls aren't enough to protect a website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages