+ Post New Thread
Results 1 to 3 of 3
Coding Thread, display the logged in username/read a MS db without having to authenticate in Coding and Web Development; Hi All Does anyone know how to get PHP to display the logged in username/read a MS db without having ...
  1. #1
    Unvalidated User
    Join Date
    Jan 2008
    Posts
    54
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    0

    display the logged in username/read a MS db without having to authenticate

    Hi All

    Does anyone know how to get PHP to display the logged in username/read a MS db without having to authenticate. Its to do with our banning system. We would like to set banned users homepage to http://www2.chathamsouth.medway.sch...._suspended.htm (via custom proxy allowing only that page) Which will tell them why they are banned/duration etc, and will allow them to submit a url for inclusion in the 'banned proxy'

    Thanks
    J

  2. #2
    Unvalidated User
    Join Date
    Jan 2008
    Posts
    54
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    0
    *bump**

  3. #3

    Join Date
    Jul 2007
    Location
    Devon
    Posts
    233
    Thank Post
    8
    Thanked 9 Times in 8 Posts
    Rep Power
    16
    Linux systems can do it, but it's complex as far as I know and I'm not sure how to even start that... mod_ntlm?

    Windows IIS just needs you to turn on Authentication with Digest Server (or something about Digests Authentication)

    then the $_SERVER['AUTH_USER'] var (or something similar will be populated)

    If it's only a simple thing, you may be able to abuse Internet Explorer and use embeded VBScript... not sure how you would do that either.


    2 other ways around it are to use ASP/ASP.net or an ActiveX control... there are probably other ways of doing it too.

SHARE:
+ Post New Thread

Similar Threads

  1. GP by username
    By rhyds in forum Windows
    Replies: 2
    Last Post: 17th July 2007, 08:01 PM
  2. Duplicate Username Problem
    By Andie in forum Learning Network Manager
    Replies: 4
    Last Post: 25th May 2007, 08:47 PM
  3. Username variable in the 'Connect to' box?
    By Andie in forum Windows
    Replies: 2
    Last Post: 22nd May 2007, 12:22 PM
  4. Replies: 5
    Last Post: 21st February 2007, 04:40 PM
  5. Spaces in username box
    By jayrt in forum Windows
    Replies: 25
    Last Post: 29th March 2006, 10:54 AM

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
  •