DAN FOLKES

programmers blog (visit the lab )

Menu

Skip to content
  • Home
  • Résumé
  • Contact
  • Code
  • Software
  • Thoughts

Quick n Easy – Forms Authentication – Web.conf

I use the login page from here:
http://www.15seconds.com/issue/020220.htm

<!-- Web.Config Configuration File -->
 
<configuration>
 
  <system.web>
    <customErrors mode="Off"/>
    <compilation debug="true"/>
 
    <authentication mode="Forms">
      <forms loginUrl="FeedBack_Admin/login.aspx" protection="All" timeout="30">
        <credentials passwordFormat="Clear">
          <user name="admin" password="pass"/>
        </credentials>
      </forms>
    </authentication>
    <authorization>
      <allow users="*" />
    </authorization>
  </system.web>
 
  <location path="FeedBack_Admin">
    <system.web>
      <authorization>
        <deny users="?" />
      </authorization>
    </system.web>
  </location>
  <location path="Content_Admin">
    <system.web>
      <authorization>
        <deny users="?" />
      </authorization>
    </system.web>
  </location>
</configuration>

Related posts:

  1. Python: Wunderground Todays Weather to Email SMS to Phone
  2. QR(Quick Response) Codes
This entry was posted in .Net, Code and tagged Authentication, authorization, c#, conf, easy, Forms, Forms Authentication, location, login, Quick, simple, vb.net, Web, Web.conf on June 15, 2010 by dan.

Post navigation

← JQuery – Example Documents for Presentation life is good →
Daniel Folkes
Richmond, VA
Developer
Twitter
Facebook
Github
Flickr
Google+

Categories

  • Code (61)
    • .Net (7)
    • Javascript (12)
    • jQuery (8)
    • Linux (6)
    • PHP (14)
    • Python (11)
  • DIY (9)
  • Music (7)
    • mp3 (1)
  • Photos (31)
  • Software (31)
  • Thoughts (47)

Tags

.Net AJAX App Asp.Net AspDotNetStorefront best c# Chords Code comments css download email feed Google HTML IE Install javascript jpeg jQuery Lyrics mysql PHP Python read read/write Reader Recipe Richmond RSS rss feed script Setup StoreFront subject twitter Ubuntu VA VB vb.net Video Web Web Service WordPress

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress