You must Sign In to post a response.
  • Category: ASP.NET

    Control different browser login


    Web application requirement ( & C#)

    I have an new requirement, that's when Login our application in a new IE browser (different machine), then special authentication is required.

    Ex. I'm using the application in my machine & IE browser, here no need for special password. when i run my application in another machine / new browser that time only special password has to ask.

    Sathish S
  • #768826
    I think you can use Windows authentication to serve your purpose
    To configure your Web application for Windows authentication, follow these steps:
    1.Create an ASP.NET Web Application named ASPNETWinAuth. By default, theWebForm1.aspx file appears.
    2.In the HTML view of WebForm1.aspx, replace the existing code with the following sample code:


    3.Click Start, point to Programs, point to Administrative tools, and then click Internet Information Services.
    4.The Internet Information Services MMC appears. Expand Computer, and then expand a Web site that uses Windows authentication.
    5.Click the ASPNETWinAuth Web site application.
    6.On the Action menu, click Properties.
    7.In Properties, click the Directory Security tab.
    8.Under Anonymous access and authentication control, click Edit.
    9.In Authentication Methods, click to select Integrated Windows authentication. Click to clear all other check boxes.
    10.Click OK.
    11. In Properties, click OK. The ASPNETWinAuth Web application is now configured to accept valid user accounts.

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #768827
    Thanks for sharing this info,

  • #768851
    Hi Satish,

    Yes, I agree with Prasad windows authentication is better option in your case, using windows authentication it uses the credentials based on your entry level logins.

    desktop login those credentials applies to the Microsoft word, excel...

    Hope this helps you...

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

  • Sign In to post your comments