07 Dec 12, 03:56AM
(07 Dec 12, 03:07AM)Habluka Wrote:(07 Dec 12, 02:30AM)#M|A#Wolf Wrote: If you haven't already I think it'd be a good idea to only allow .dmo files. Some time ago someone else did this and I remember someone was trolling and posted weird pics. Good job :)
Unless you write something that will actually verify that it is a demo file, that would be kind of pointless since you can put a .dmo extension on anything and trick people into downloading it. Unless it becomes a problem, I really don't see a need for that.
Yes, but the point is that if you upload an image file or a video or anything else as a .dmo, it won't render in the browser. So if someone is trying to get people to look at "weird pics" they will fail unless the user actually downloads the file AND changes the extension to the right one.