I know that by defualt IIS won’t server App_Data or bin folders content to the public.
How to set one more folder to don’t server to public?
I know that by defualt IIS won’t server App_Data or bin folders content to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The proper way to do that is using this:
This allows you to still access files located there from the
IUSRaccount, but prevents actual requests for files there from being filled directly.Note that this will block files in that directory, and any subdirectories, no matter where that directory occurs – even if it, itself, is a sub-directory of something else.