+ Post New Thread
Results 1 to 9 of 9
Scripts Thread, Single sighn on for web app? in Coding and Web Development; I have, what I believe to be a simple(ish) problem. With possibly a very complicated solution... I have a web ...
  1. #1

    Join Date
    Mar 2009
    Location
    UK
    Posts
    18
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    12

    Single sighn on for web app?

    I have, what I believe to be a simple(ish) problem. With possibly a very complicated solution...

    I have a web application that requires the user to log in. It authenticates against active directory to log the user on.

    So the user logs into the workstation and then has to log in again onto the web page using the same username and password.


    Is there any way of having it so that when the user logs in to the workstation it automatically picks up their A.D. Username and Password and completes a logon on the web application to initiate an authenticated session, so that when they click on the web icon, they are passed straight though into the application instead of having to stop at the password screen and re-enter their credentials?


    I know its not the end of the world entering the details twice, but for some users who dont really want to use the program, this is becomming a boundary which I need to remove!

    If anyone could suggest a solution, or reading materials that explain how the loggin details are handled when the user logs into windows, I would be greatful.
    Last edited by Tegwin; 16th June 2009 at 11:41 AM.

  2. #2

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,966
    Thank Post
    519
    Thanked 2,502 Times in 1,942 Posts
    Blog Entries
    24
    Rep Power
    841
    What OS is the client, what browser, and what OS is the server and what http server software?

  3. #3

    Join Date
    Mar 2009
    Location
    UK
    Posts
    18
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    12
    Quote Originally Posted by localzuk View Post
    What OS is the client, what browser, and what OS is the server and what http server software?
    Hi Localzuk.

    Client- Windows XP SP3
    Browser- IE7
    The web application is running on a Unix server under Apache.
    Active directory is on a Win 2K3 server.

    I was hoping to be able to do it client side somehow perhaps using the "login.bat" file, as I have minimal access to the web application back end.

  4. #4

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,664
    Thank Post
    1,263
    Thanked 786 Times in 683 Posts
    Rep Power
    237
    Quote Originally Posted by Tegwin View Post
    Is there any way of having it so that when the user logs in to the workstation it automatically picks up their A.D. Username and Password and completes a logon on the web application to initiate an authenticated session
    Try Googling around NTLM / Integrated Windows Authetication, that should get you started.

    --
    David Hicks

  5. #5

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,205
    Thank Post
    876
    Thanked 2,729 Times in 2,308 Posts
    Blog Entries
    11
    Rep Power
    782
    If it was running on ISS this would be trivial: IIS 6 Access control
    you may be able to set it up the same way under linux but I don't know whether it supports that kind of authentication (NTLM).

  6. #6
    Wiseman82's Avatar
    Join Date
    Jan 2006
    Location
    North East
    Posts
    48
    Thank Post
    3
    Thanked 14 Times in 11 Posts
    Rep Power
    21
    In IE Advanced Settings check that "Enable Integrated Windows Authentication" is enabled.
    Add the site to the "Local Intranet" zone.

    The above should do the trick. If not check that the security settings have "Automatic logon only in Intranet zone". (Custom Level button in Security tab)

  7. #7

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,966
    Thank Post
    519
    Thanked 2,502 Times in 1,942 Posts
    Blog Entries
    24
    Rep Power
    841
    Quote Originally Posted by Wiseman82 View Post
    In IE Advanced Settings check that "Enable Integrated Windows Authentication" is enabled.
    Add the site to the "Local Intranet" zone.

    The above should do the trick. If not check that the security settings have "Automatic logon only in Intranet zone". (Custom Level button in Security tab)
    This will only set one side of the process up, you also need your web server set up to use NTLM auth.

  8. #8
    Wiseman82's Avatar
    Join Date
    Jan 2006
    Location
    North East
    Posts
    48
    Thank Post
    3
    Thanked 14 Times in 11 Posts
    Rep Power
    21
    Quote Originally Posted by localzuk View Post
    This will only set one side of the process up, you also need your web server set up to use NTLM auth.
    I'm not familiar with Apache but it does sound like the integrated authentication is enabled as users are prompted for their logon and are able to logon with their Windows credentials. The issue is to make this process automatic - I'm not aware of anything special you need to do in IIS, but Apache might be a different issue. I do know that you need to modify the browser settings to allow the automatic logon to work when using a Windows authentication app in IIS. I'd check the browser settings first then look if any server side options need to be enabled when using Apache.

  9. #9

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,966
    Thank Post
    519
    Thanked 2,502 Times in 1,942 Posts
    Blog Entries
    24
    Rep Power
    841
    Quote Originally Posted by Wiseman82 View Post
    I'm not familiar with Apache but it does sound like the integrated authentication is enabled as users are prompted for their logon and are able to logon with their Windows credentials. The issue is to make this process automatic - I'm not aware of anything special you need to do in IIS, but Apache might be a different issue. I do know that you need to modify the browser settings to allow the automatic logon to work when using a Windows authentication app in IIS. I'd check the browser settings first then look if any server side options need to be enabled when using Apache.
    Having login, and having NTLM login are 2 very different things in Apache, using very different mechanisms.

SHARE:
+ Post New Thread

Similar Threads

  1. App-V 4.5
    By gshaw in forum Windows
    Replies: 9
    Last Post: 3rd February 2009, 01:28 PM
  2. app icons
    By mac_shinobi in forum Mac
    Replies: 1
    Last Post: 11th September 2008, 07:06 PM
  3. Replies: 1
    Last Post: 25th September 2007, 07:34 PM
  4. Replies: 6
    Last Post: 12th July 2007, 08:49 AM
  5. App to Web App
    By Quackers in forum Web Development
    Replies: 8
    Last Post: 28th February 2007, 01:32 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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