ibolui Posted June 9, 2008 Share Posted June 9, 2008 hi, i am trying to write a script for uploading of media files (video/audio). i wish to know if there should be any concern for any security issues. as in what validation etc should my script perform.. i have done some basic checks such as the file extension, filesize and is_uploaded_file. for images, i tried using imagecreatedfromjepg etc to see whether the uploaded file is a valid image. likewise i would like to know if there is also any other ways to check whether the uploaded media files are valid.. also, will there be a problem if the uploaded images/medias contain viruses? Quote Link to comment Share on other sites More sharing options...
ibolui Posted June 10, 2008 Author Share Posted June 10, 2008 hi... somebody help me with me? Quote Link to comment Share on other sites More sharing options...
FlyingIsFun1217 Posted June 10, 2008 Share Posted June 10, 2008 Seems like if you are doing file extension, size, and upload checks, that you are really doing pretty well in making sure it's what you want it to be. And unless you provoke the file in some way, it can't just start doing anything to the server, so you should be safe. FlyingIsFun1217 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.