I am trying to serve images from my Django Rest framework server. I need these images to be secured with my user's JWT token.
ie. If user GETs profile 1, and profile 1 has image ABC. Unless the user has access to Profile 1, they should not be able to navigate to BASE_URL/static/images/ABC.jpg and get an image.
How to I implement a valid token check?