How to host angular application in windows IIS ? what folder path should I give as physical path in IIS?
I’ve built an Angular application and want to deploy it as a static front-end experience on an IIS server.
Details:
Angular version: 18 ( but i used ng new projectname –standalone=false)
node version : v22.2.0
npm version : 10.7.0
IIS version : 10.0
I had build a production built using command ng build --configuration=production
and it created files in dist folder of project.
How to restrict flile access/download from IIS server
Our angular app(dist folder) is deployed on IIS server, the app works fine but i am able to access(download) the font file directly(without login) from the server using the url from the browser window.