Two Authentication

G

Guest

I have a portion of an application that needs to be protected by forms
authentication and another portion that does not. I have created a subfolder
and put different web.config files in each. That all works fine. The only
problem is that the code-behind forms can't find the project dll. If I copy
the dll into a bin folder in the subfolder it works fine. How do I get the
forms to look in the main application bin folder for the dll?
 
G

Guest

Boozer,

Take a look at the probing element. You can use this in the app config file
to specify directories the runtime should search when looking for an assembly.

Hope this helps.
 
S

Saravana

If you dont want to protect certain folder in your application by forms
authentication, you can specify that in location tag in web.config file. For
example,

<configuration>
<location path="Folder2">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>

for more details, refer this article
http://www.dotnetbips.com/displayarticle.aspx?id=117
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top