ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How to authenticate users using web.config ?
 Question Submitted By :: Pranab Mukherjee
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to authenticate users using web.config ?
Answer
# 1
if we are using form based authentication at that time in 
the web.config 
we can set the autentication mode to "form"

then we can specify the user name and password which we are 
going to access.
if any one can access that application then you can specify 
<allow users="*">
inside the authentication tags
 
Is This Answer Correct ?    3 Yes 0 No
Babu Reddy
 
  Re: How to authenticate users using web.config ?
Answer
# 2
Forms authentication can be done at web.config 


<authentication mode="Forms">
            <forms name="appNameAuth" path="/" 
loginUrl="login.aspx" protection="All" timeout="30">
                <credentials passwordFormat="Clear">
                    <user name="jeff" password="test" />
                    <user name="mike" password="test" />
                </credentials>
            </forms>
        </authentication>
        <authorization>
            <deny users="?" />
        </authorization>
 
Is This Answer Correct ?    3 Yes 1 No
Deepa
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Define ViewState and how can it be used?  3
How many time you can fill dataset in asp.net? Syntel1
what do machine key element in configuration file specify? TCS1
How do you add a javascript function for a link button in a datagrid? Microsoft2
hi im shailendra singh my question is how we deploye the data base HCL2
Difference between Active Exe and Dll ? Satyam3
What are different transaction options? Astadia1
What is web.config. How many web.config files can be allowed to use in an application ? Accenture8
When a dropdownlist has been added by some records and it has been binded why it is not executing i'm facing this error pls help me ? if (is!pageposback) { arraylist books = new arraylist; books.add ("gone with the wind"); books.add ("rahulsriramprakash"); books.add ("vishal"); dropdowndisplay.datasource=books; dropdowndisplay.databind(); } The error is : 1) The dropdowndisplay does not exist. Netsweeper4
17. If I?m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?  1
How do you do exception management? Accenture1
what is CTS? PrimeLine3
What is wrong with a line like this? DateTime.Parse(myString) Metasys3
Describe the difference between inline and code behind.  2
How do you a replicate a set of controls across a number of ASP Pages  2
i have one gridview contains edititemtemplate(which contains update and cancel buttons) and i have one item template (contains edit button) i want the code for update and cancelbuttons in edit item template and i want the code for edit button in itemtemplate. please help me  4
Difference between Dataset and DataReader ? Accenture4
About Postback ? Accenture3
What is FullTrust? Do GACed assemblies have FullTrust?  2
Can we use the java script code in .Net Code behind? eXensys4
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com