In our SharePoint solution we are going to use basic authentication along with SSL for authenticating the users to our site. However we have added a folder to the layouts folder where we have our structure with folders. One of this contains our dlls and setting used for our smart clients. Using Windows Authentication everything is fine, but switching to basic gives me troubles on this folder. First off all if I go to Mapped Handlers on this folder execute is removed as one of the permissions. If I navigate to our site I can in my debug session see that I cannot read my appsettings from my settingsfile. If I then switch on execute I get an 404 error when our site is trying to download our dlls. With execute off these files are downloaded to the temporary internet files, but as mentioned before we can't read our appsettings. Just for clarification I am logging on as the admin user on the server and everything is working fine using Windows Authentication.
Does anyone know if there is some settings I have missed? This folder is added to layouts after SharePoint is deployed if that would matters?
Edit: It seems that this is not the problem. It looks like the main problem is that the code cannot read our config file. Not the web config, but our custom config file.