transparent
Programmer
I'm building a website that will allow users to upload images.
I want to ensure that they only upload jpg or gif.
I could just check the extension, but that seems very insecure to me.
So, I want to prevent people being able to upload files (an exe for example) with a jpg or gif extension.
Further, I want to flag images that may be inappropriate i.e. I want to prevent people uploading porn. I was thinking I could look at the pink content?
Thoughts?
I want to ensure that they only upload jpg or gif.
I could just check the extension, but that seems very insecure to me.
So, I want to prevent people being able to upload files (an exe for example) with a jpg or gif extension.
Further, I want to flag images that may be inappropriate i.e. I want to prevent people uploading porn. I was thinking I could look at the pink content?
Thoughts?