Narendra Tiwari

It is not tough to do right things, Tough is...to decide what is right.

  Home  |   Contact  |   Syndication    |   Login
  81 Posts | 0 Stories | 492 Comments | 32 Trackbacks

News

Employers
Soppa Group India
iSmart Panache Inc
R Systems Internationals Ltd
Technovate eSolutions Pvt Ltd
The contents of this blog are my personal opinion and do not represent in any way the view of my employer.
These postings are provided "AS IS" with no warranties, and confer no rights.

Google PR™ - Post your Page Rank with MyGooglePageRank.com

Archives

Post Categories

Image Galleries

Articles & Magazines

ASP.Net 2.0 Compilation

ASP.Net, Blogs I refer...

Atlas

Dost

Drivers and Software Download

Garhwal

Travel Domain

WSS and WebParts

1. Implement Forms Authentication and Authorization in Web.config

<system.web>
<authentication mode="Forms"/>
</system.web>

<
location path="<filename or relative path of the folder>"> <!--e.g. PublishedFiles\Category1, or PublishedFiles\Category1\file1.htm-->
    <
system.web>
       <
authorization>
            <
deny users="?"/>
           <
allow users="*"/>
       </
authorization>
    </
system.web>
</
location>

2. Ensure that there is an entry for .htm/.html in IIS Configuration.

IIS Configuration
Forms Authetication will not work if you dont have the entry for corresponding file extension in IIS configuration.


 

posted on Friday, April 27, 2007 8:59 AM

Feedback

# Links (4/29/2007) 4/29/2007 8:33 PM Member Blogs
.NET Building a Continuous Integration Process In An Hour On DNRTV Implementing Observer pattern in .Net

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: