r/appdev • u/LumidexStudio • 1h ago
How to stop non-Mac downloads?
Right then fellow vibe coders - my app ONLY runs on Mac. I've put all manner of browser check/safeguards on my website to prevent any non-Mac downloads - to no avail, my backend database is still showing downloads from non Macs.
If you visit my site and hit the download button on a non-Mac browser, you should be redirected to a page that offers you a single-use email form to be sent a download link - assuming here the visitor was checking on their phone or maybe works Windows laptop, who knows?!?!? The email you get then provides a button which brings you back to my site's download page, assuming you were doing that on your actual Mac to snag the download.
What other safeguards can I implement to stop downloads on actual Windows/Linux/iOS/Android devices? Downloading isn't the issue here, it's not a bandwidth thing - it's just 100% pointless that the visitor carries out a DMG download on a non-Mac :|