Qbasicnews.com

Full Version: A good, safe, file submission system.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Can anyone tell me of a nice and safe way to have people submit games to me? Without me having to worry that they're sending my a virus or anything with malicious code?
Isn't there a way to trigger an antivirus program from a php script to scan a file?
Just prevent certain types of files being uploaded. You can do that with the "accept" attribute of an input tag and by checking the extension automatically.
Yeah, but then you open the .zip file or whatever and find out that it contains a virus. You'd rather just not want to bother with that crap.
Is there a SHELL-like function in PHP? If so, just shell the virusscan.exe thing or whatever.
When the files are uploaded, you then right click on them and virus check them before opening them Wink
If the games to be submitted are written in QB, why not just ask for the source?
*****
Quote:If the games to be submitted are written in QB, why not just ask for the source?
*****

They're not just QB anymore.

But thanks. I'll do what you guys just told me. Smile
Rockuman...have a "no executable" policy. Smile Planet source code does that...you can't submit any EXEs, OCXs, or DLLs. I also don't think you can submit SCRs either. But if you want to scan a file to see if it's got executable code in it, just check the first two bytes of any file. If it starts with MZ, it's more than likely an executable file even if the extension is different. There are plenty of ways to check for executable files. Smile I agree with the sourcecode idea mostly though...make it mandatory. Smile
Quote:Rockuman...have a "no executable" policy. Smile Planet source code does that...you can't submit any EXEs, OCXs, or DLLs. I also don't think you can submit SCRs either. But if you want to scan a file to see if it's got executable code in it, just check the first two bytes of any file. If it starts with MZ, it's more than likely an executable file even if the extension is different. There are plenty of ways to check for executable files. Smile I agree with the sourcecode idea mostly though...make it mandatory. Smile
What about .COM files? They don't have the standard MZ EXE header. :roll:
Also, isn't Game[r]Colony going to be reviewing just plain ol' old games, too? No source code for them.
Quote:
adosorken Wrote:Rockuman...have a "no executable" policy. Smile Planet source code does that...you can't submit any EXEs, OCXs, or DLLs. I also don't think you can submit SCRs either. But if you want to scan a file to see if it's got executable code in it, just check the first two bytes of any file. If it starts with MZ, it's more than likely an executable file even if the extension is different. There are plenty of ways to check for executable files. Smile I agree with the sourcecode idea mostly though...make it mandatory. Smile
What about .COM files? They don't have the standard MZ EXE header. :roll:
Also, isn't Game[r]Colony going to be reviewing just plain ol' old games, too? No source code for them.

It'll have source code available, though the game itsself if the one main priority...

But, I'll do the virus scanning thing ( I think I already said that. I'm too lazy to look at the posting review )
Pages: 1 2