All directories or files in the same directory with this Web.config file could not be accessed if not login. So to access common files such as Master Pages, Stylesheet files, images, you should store those in separated directories and all those directories must have their own Web.config file with the following content:
<configuration>
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</configuration>