Click here to Skip to main content
15,884,628 members
Articles / Web Development / ASP.NET

Forms Authentication Without Password In ASP.NET

Rate me:
Please Sign up or sign in to vote.
1.55/5 (7 votes)
9 Sep 2007CPOL1 min read 26.5K   25  
Mixed Mode Of Windows authentication And Forms authentication
<?xml version="1.0"?>
<configuration>
  <connectionStrings>
    <add name="SystemControlConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\SystemControl.mdb;Persist Security Info=True"
      providerName="System.Data.OleDb" />
  </connectionStrings>

  <system.web>
   
    <customErrors mode="Off"/>

    <authentication mode="Forms">
      <!--<forms loginUrl="Login.aspx" cookieless="UseUri" slidingExpiration="true" name=".LogonUserDemo2" timeout="20" path="/" protection="All"/>-->
    </authentication>
    <authorization>
			<allow users="*"/>
		</authorization>
		
		
		<compilation  defaultLanguage="c#" debug="true">
      
     

		</compilation>
	
   
	</system.web>


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

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
i am programmer and i am programming 10 year
I am VB Progarammer
Asp.net Webdevelpoer Intranet Site Developer
C#.net Programmer
in SqlServer DatabAse
I am Developing Accounting System And Sell Systems
In C# Or VB.net In SqlServer 2000 ,
I like Programming And I live With Programming
iran tehran



Comments and Discussions