Jump to content
danielwoods21

how to prevent direct access to file server and download files using web server?

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.