Enabling File Size Validation
To enable file size validation, set the MaximumFileSize property to a whole integer value that represents the maximum number of bytes allowed for each uploaded file.