danielwoods21 Posted December 16, 2019 Share Posted December 16, 2019 Hello x.com is my webserver and dl.x.com is my file server. I want to prevent direct access to file server and just allow users to request files through x.com/download?criteria=some-criteria url. does any one have any idea. I also want to know if this might harm my webserver? Quote Link to comment https://forums.phpfreaks.com/topic/309690-how-to-prevent-direct-access-to-file-server-and-download-files-using-web-server/ Share on other sites More sharing options...
requinix Posted December 16, 2019 Share Posted December 16, 2019 Don't expose dl.x.com to the internet. Store your files there if you wish but proxy everything through x.com. Will it harm your server to reduce the attack surface? I don't think so, no. Quote Link to comment https://forums.phpfreaks.com/topic/309690-how-to-prevent-direct-access-to-file-server-and-download-files-using-web-server/#findComment-1572557 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.