How to have VS.NET setup turn anonymous off.

  • Thread starter Thread starter Peter Rilling
  • Start date Start date
P

Peter Rilling

When creating an MSI through VS.NET, does the setup project allow me the
ability to turn anonymous off. Basically, my web app uses Windows
Authentication, but the MSI turns both that and anonymous one, which is
causing conflicts. Right now I have to have a statement in the build notes
that describes how to turn anonymous off, but would like the MSI to do that
for me.
 
I do ot know whether you can turn off Anonymous access of IIS (or only the
the virtual directiory of your web app), but, IMO, Things like that shoyuld
be left under server administrator's control. On other other hand, you can
deny Anonymous access to your ASP.NET app by using we.conflg file, just make
sure following setting is present in web.config file of your app.

<authorization>
<deny users="?" />
</authorization>
 
Back
Top