Editable for only specific active directory user goup

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • AxOn

    #1

    Editable for only specific active directory user goup

    Hi,

    I'm trying to make a php message board on our company's Intranet that
    can only be edited by a specific user group. The group "writers" is
    managed in active directory.

    Is it possible to automatically check if the user that is logged in to
    windows and is watching the site is a part of the group "writers"? And
    if that user is a part of writers then an "Edit" button would be
    displayed on the site. The intranet site runs on Apache 2.2

    Thanks!

  • shimmyshack

    #2
    Re: Editable for only specific active directory user goup

    On Jun 29, 12:03 pm, AxOn <hannu_tahvanai ...@hotmail.com wrote:
    Hi,
    >
    I'm trying to make a php message board on our company's Intranet that
    can only be edited by a specific user group. The group "writers" is
    managed in active directory.
    >
    Is it possible to automatically check if the user that is logged in to
    windows and is watching the site is a part of the group "writers"? And
    if that user is a part of writers then an "Edit" button would be
    displayed on the site. The intranet site runs on Apache 2.2
    >
    Thanks!
    youre asking whether M$ windows sends usernames and passwords over
    port 80 to apache, and whether apache can understand them if it does,
    just use a separate password file with a small php script

    if( user_authd() )
    {
    display_edit_bu tton();
    }
    else
    {
    display_mini_fo rm_password_and _submit();
    }

    form posts back to same page the function user_authd checks a small
    file or db and edit button appears

    Comment

    • none

      #3
      Re: Editable for only specific active directory user goup

      shimmyshack wrote:
      On Jun 29, 12:03 pm, AxOn <hannu_tahvanai ...@hotmail.com wrote:
      >Hi,
      >>
      >I'm trying to make a php message board on our company's Intranet that
      >can only be edited by a specific user group. The group "writers" is
      >managed in active directory.
      >>
      >Is it possible to automatically check if the user that is logged in to
      >windows and is watching the site is a part of the group "writers"? And
      >if that user is a part of writers then an "Edit" button would be
      >displayed on the site. The intranet site runs on Apache 2.2
      >>
      >Thanks!
      >
      youre asking whether M$ windows sends usernames and passwords over
      port 80 to apache, and whether apache can understand them if it does,
      just use a separate password file with a small php script
      >
      if( user_authd() )
      {
      display_edit_bu tton();
      }
      else
      {
      display_mini_fo rm_password_and _submit();
      }
      >
      form posts back to same page the function user_authd checks a small
      file or db and edit button appears
      >


      Arjen

      Comment

      Working...