Reply to Re: Editable for only specific active directory user goup

Your name:

Reply:


Posted by shimmyshack on 06/29/07 12:34

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_button();
}
else
{
display_mini_form_password_and_submit();
}

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация