JAspeling / Sportal

Student Portal
0 stars 0 forks source link

Image uploading - Security Issues #4

Open JAspeling opened 11 years ago

JAspeling commented 11 years ago

Check for valid Image types. Check for image size before upload. Change Image name to be unique. Re-size large images to fit designated areas

OCdeBruyn commented 11 years ago

Done

OCdeBruyn commented 11 years ago

Still need validation on file type

SDelport commented 10 years ago

and it still says no file chosen after a picture is uploaded

JAspeling commented 10 years ago

Yeah that was mainly for debugging purposes, This happens because there is a postback when the file upload is done. After the postback, the file is already stored on the server, but is no longer inside the 'FileUpload' control, and thats why it says no file chosen.

Theres a few things that need to be done here still: