prakash Rout
How can we give authentication to some pages in ASP.Net application in form authentication
By prakash Rout in ASP.NET on May 18 2007
  • Dinesh
    May, 2007 21

    keep the pages you want to give a in separate folder and place the following web.config file in that folder:

    <configuration>
    <system.web>
    <authentication mode="forms" />
    <authorization>
    <allow users="?" /> 
    </authorization>
    </system.web>
    </configuration> 
    
    The above web.config allows all anonymous users to access any .aspx page in that folder.

    • 0
  • Dinesh
    May, 2007 21

    keep the pages you want to give a in separate folder and place the following web.config file in that folder: < configuration > < system.web > < authentication mode="forms" / > < authorization > < allow users="?" / > < /authorization > < /system.web > </configuration > The above web.config allows all anonymous users to access any .aspx page in that folder.

    • 0
  • Dinesh
    May, 2007 21

    keep the pages you want to give a in separate folder and place the following web.config file in that folder:

             
    The above web.config allows all anonymous users to access any .aspx page in that folder.

    • 0
  • Dinesh
    May, 2007 21

    keep the pages you want to give a in separate folder and place the following web.config file in that folder: The above web.config allows all anonymous users to access any .aspx page in that folder.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS