• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

allow access to single .aspx page?

Currently I am restricting acces to my site using forms in the web.config file but I want to also allow access to a single page? How do I do this?

Here is my current web.config:

<system.web>
<authentication mode="Forms" />
<authorization>
      <deny users="?"/>
      <allow users="*"/>
</authorization>
</system.web>
0
alivemedia
Asked:
alivemedia
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
You can allow access to individual pages using the <location> tag. An example can be found here:

    http://www.xerratus.com/CommentView,guid,94046f2b-98dd-42dd-9fa1-597c66d7676f.aspx
0
 
alivemediaAuthor Commented:
Thanks, I couldn't remeber the format
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now