Have a web site that is 'secure' but want to have a subdirectory that is not.

U

UJ

I have a web site that is secure by forms authentication. I've put in
changes to allow a virtual directory to be accessed by everyone but it
doesn't seem to have taken. I always end up being pushed back to my login
page.

I then took out all authentication - made it allow all and I'm still being
forced back to the my login page. Is there anything I need to do to force
the changes to happen?

Also - could somebody check my code to make sure that what I'm doing is
correct? (There is other stuff in there - I just don't bother including it.)
WebServices is a virtual directory off the root of my web site.



<configuration>
<location path="WebServices/ClientSoftware.asmx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>

<system.web>
<authentication mode="Forms">
<forms name="Login" loginUrl="/Login.aspx" protection="All"
path="/" timeout="30"></forms>
</authentication>

<authorization>
<allow users="*" />
</authorization>
</system.web>
</configuration>
 

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

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top