I just created an .aspx file with password protection, but now ALL my .aspx files are password protected. There's two page to be exact: admin.aspx and register.aspx. I want admin.aspx to be password protected but I want register.aspx to be open to the public. To make admin.aspx password protected, I added the following code to my Web.Config file:

<customErrors mode="Off"/>
<authentication mode="Forms">
<forms name="appNameAuth" path="/" loginUrl="login.aspx" protection="All" timeout="30">
<credentials passwordFormat="Clear">
<user name="lac" password="lacpwd" />
<deny users="?" />

and the following to the top of admin.aspx:

<%@Import Namespace="System.Web.Security" %>

This works fine, but unbeknownst to me it added password protection to register.aspx as well (I only found out now... a week after this was implemented). I didn't change register.aspx in any way. It does not import System.Web.Security so I don't know why it would all of a sudden be using it.

How do I fix this?