How to validate the media url returned from clients when using uploadthing?

Client uploads file(s), receives media url(s), sends them to the server , server stores them in database. But what if client submits invalid url(s) that don't correspond to the media files that were uploaded on the client? If the client hijacks the form submission process and provides a custom media url, how do we prevent that?
0 Replies
No replies yetBe the first to reply to this messageJoin