My app dynamically fetches URLs based on user input, and I’m concerned it could be vulnerable to Server-Side Request Forgery (SSRF). However, I need to retain this feature for the app’s functionality, so removing it isn’t an option.
Are there specific methods or libraries I can use to filter or validate the URLs securely? I’d appreciate advice on securing this feature without compromising the app’s intended use.