Re: Editable for only specific active directory user goup
- From: none <""arjen\"@(none)">
- Date: Fri, 29 Jun 2007 14:36:02 +0200
shimmyshack wrote:
On Jun 29, 12:03 pm, AxOn <hannu_tahvanai...@xxxxxxxxxxx> wrote:http://www.developer.com/lang/php/article.php/3100951Hi,
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
Arjen
.
- References:
- Editable for only specific active directory user goup
- From: AxOn
- Re: Editable for only specific active directory user goup
- From: shimmyshack
- Editable for only specific active directory user goup
- Prev by Date: Re: Editable for only specific active directory user goup
- Next by Date: Re: urgent please help (how to show .doc file on an html page)
- Previous by thread: Re: Editable for only specific active directory user goup
- Next by thread: newbie
- Index(es):