Thread: web.config
View Single Post
  #2 (permalink)  
Old August 25th, 2008, 02:46 PM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Look at the authentication and authorization nodes of the web.config files. You can specify forms authentication as the main authentication mechanism. Then you set the whole site to be accessible to unauthenticated uses, then use "location" nodes to define the specific paths of the files you wish to restrict.

-Peter
compiledthoughts.com