I want to make an app which involves uploading files onto a server
But I don't want users to spam files which are duplicates / not relevant (NSFW for example)
What is the best way to manage this, is there a particular framework? And does the processing happen on device or serverside?