How to authenticate users using web.config ?
Answers were Sorted based on User's Feedback
Answer / deepa
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 ? | 29 Yes | 5 No |
Answer / babu reddy
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 ? | 21 Yes | 2 No |
If there is submit button in a from tell us the sequence what happens if submit is clicked and in form action is specified as some other page ?
How can I have a particular web page in an asp.net application which displays its own error page?
Is session server side or client side?
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
Is viewstate secure?
About DataAdapters ?
What is the difference between table and query?
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?
What are client activated objects?
Where can i get Latest Microsoft .Net Certification Dumps & what Types of .Net Certifications are there?
web farm .. how does session shuld be stored... if inproc used? does the session persists from one server to other.
write six HTTP request method?