How to make a Public Page in ASP.NET? web.config?

D

Dexter

Hello all,
I have a web application with the authentication mode = "Forms", this
function very well, but i have a directory in this webpplication that it has
only a page.aspx file, and i need that this form has that to be public, the
user don't need to do login to have access in this file.

Somebody to know with to make this?

Thanks


Dexter
 
G

Guest

It's a little more than just this but you can create a new web.config under
that page's folder and add the following:

<authorization>
<allow users="*" /> <!-- Allow all users -->
<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/> -->
</authorization>
 

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

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top