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? Link to comment https://forums.phpfreaks.com/topic/109345-uploading-media/ Share on other sites More sharing options...
ibolui Posted June 10, 2008 Author Share Posted June 10, 2008 hi... somebody help me with me? Link to comment https://forums.phpfreaks.com/topic/109345-uploading-media/#findComment-561669 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 Link to comment https://forums.phpfreaks.com/topic/109345-uploading-media/#findComment-561689 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.