40. 寫出安全的上傳功能
? Update your sense and software.
? User controlled filename is always dangerous.
– Whatever filename, extension or temporary
filename.
? Use Image library to valid or strip the image.
? Disabled the directory’s execution permission
you uploaded to.