If you can’t offer a feature like this in a secure manner then you shouldn’t offer the feature at all.