fastn-old icon indicating copy to clipboard operation
fastn-old copied to clipboard

Only Allowed Path from Dependencies Should Be Served

Open AbrarNitk opened this issue 3 years ago • 0 comments

Currently we are serving all documents and static files from dependencies over HTTP. Only following must be served.

Serve-able Documents

All FTD/MD files of current packages are "serve-able documents". FTD/md files from a dependency are "serve-able document" only if they are included in the sitemap of main package.

Static Files

All static files belonging to current package must be served. Static files from a dependency can only be served if they are referenced by at least one of the "serve-able documents".

AbrarNitk avatar Sep 23 '22 04:09 AbrarNitk