CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2009
    Location
    London
    Posts
    13

    AJAX and Windows Authentication

    Hello,
    Im looking for a way to bypass windows authentication with javascript, so that the user is not prompted with username and password when he enters the site.
    Is there any way of supporting the negotiate protocol ntlm in javascript? If, so does anybody have any sample code for that?
    Thanks in advance for your time!
    Regards,
    Jo

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: AJAX and Windows Authentication

    Short and simple...this cannot be done.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Jul 2009
    Location
    London
    Posts
    13

    Re: AJAX and Windows Authentication

    thnx!

  4. #4
    Join Date
    Jun 2009
    Posts
    113

    Re: AJAX and Windows Authentication

    This may not be any help but in IE under Internet Options | Security | Custom Level at the bottom you've got your User Authentication, so if your site is in the Trusted zone and you set this to "Automatic logon with current user name and password" then you *shouldn't* be prompted. Normally automatic logon only works for the Intranet.

  5. #5
    Join Date
    Jul 2009
    Location
    London
    Posts
    13

    Re: AJAX and Windows Authentication

    Thats fine, except that I am not loading the wepage in IE, but in a C# activeX that emulates a browser (IE, thought...)

  6. #6
    Join Date
    Oct 2008
    Posts
    47

    Smile Re: AJAX and Windows Authentication

    If you are using Windows server 2008 R2 on your server side there are a lot of functions with AJAX that are available now. I would play with using Windows Identity Framework and AJAX features to see if it s possible.

    You can find free training for these technologies on how they relate to Windows server/clients here...

    http://channel9.msdn.com/

    Hope this helps,

    Larry Darrah
    MSAE

  7. #7
    Join Date
    Jan 2010
    Posts
    1

    Re: AJAX and Windows Authentication

    Quote Originally Posted by doublebyte View Post
    Hello,
    Im looking for a way to bypass windows authentication with javascript, so that the user is not prompted with username and password when he enters the site.
    Is there any way of supporting the negotiate protocol ntlm in javascript? If, so does anybody have any sample code for that?
    Thanks in advance for your time!
    Regards,
    Jo
    I dont know this like bypass.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured