Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible Sensitive Directories/Files Detected
#4
I suggest that you create 2 subfolders beneath the folder where the executable is, for instance:

\Downloads
\Uploads

They will be in the same level where wwwroot folder is:

\Downloads
\Uploads
\wwwroot

This way they can't be targeted by any incoming request (IntraWeb will never serve a file outside wwwroot folder, unless you explicitly command it from server code, not from an incoming request)

For downloads, if you are not using SendFile/SendStream you will need to move the files from \Donwloads to the cache using one of several methods to add a file to the cache.
Reply


Messages In This Thread
RE: Possible Sensitive Directories/Files Detected - by Alexandre Machado - 06-24-2023, 10:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)