dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online MembersPriya jain
naveensanagasetti
Parag Desai
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Forums » .NET » ASP.NET »

Windows Authentication


Posted Date: 21 Jul 2012      Posted By:: Ramachandran     Member Level: Bronze    Member Rank: 2889     Points: 1   Responses: 2



In ASP.NET can user create their username and password in Windows Authentication?



Responses

#681322    Author: Ajatshatru Upadhyay      Member Level: Gold      Member Rank: 20     Date: 21/Jul/2012   Rating: 2 out of 52 out of 5     Points: 3

Hi,

Yes you can!!!
ASP.NET supports three types of authentication providers:

1. Windows Authentication Provider.
2. Forms Authentication Provider.
3. Passport Authentication Provider.

The default is Windows Authentication itself.
You can configure it in web.config file as:


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


Hope it'll help you.
Regards
Ajatshatru



 
#681327    Author: mahadev      Member Level: Bronze      Member Rank: 3315     Date: 21/Jul/2012   Rating: 2 out of 52 out of 5     Points: 4

hi. yes you can create username and password using asp.net
you can also do this by using forms authentication

<authentication mode="Forms">
<forms name=".ASPXFORMSDEMO" loginUrl="logon.aspx"
protection="All" path="/" timeout="30" />
</authentication>

Deny access to the anonymous user in the <authorization> section as follows:

<authorization>
<deny users ="?" />
<allow users = "*" />
</authorization>

check the attachment for more details..
regards Mahadev Karekar



forms-autentication.docx
 
Post Reply
You must Sign In to post a response.

Next : Call Javscript from Code behind
Previous : How to send sms from asp.net application to mobile
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.