----------------------------------------------------------- New Message on MumbaiUserGroup
----------------------------------------------------------- From: BusyWizy Message 8 in Discussion i havenlt had the time to see whats wrong with your web.config, but i am attaching a web.config which i had used for one of my projects. the scenerio is same as yours, root folder has public access, subfolder has restricted access. the relevant sections in web.config are : <authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="/sky/backoffice/login.aspx" protection="All" timeout="30" path="/"></forms> </authentication> <authorization> <allow users="*"/> </authorization> so if u notice, for the root folder even though i have enabled Forms authentication, it will not ask for a password because i have said "allow users="*" now i give a location element to specify other settings for my subfolder <location path="backoffice"> <system.web> <authorization> <deny users="?"></deny> </authorization> </system.web> </location> here i am saying that deny access to unauthenticated users. so whenever a file is accesssed from the subfolder by an unauthenticated user, the login page will popup. this will solve your issue regards, nauzad kapadia [mvp] ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
