473,398 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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!

Jun 29 '07 #1
2 1492
On Jun 29, 12:03 pm, AxOn <hannu_tahvanai...@hotmail.comwrote:
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

Jun 29 '07 #2
shimmyshack wrote:
On Jun 29, 12:03 pm, AxOn <hannu_tahvanai...@hotmail.comwrote:
>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
http://www.developer.com/lang/php/article.php/3100951

Arjen
Jun 29 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: ASGMikeG | last post by:
Hi, How do I find the user object for the current user in Active Directory i.e. the user running my program ? Regards Michael
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
7
by: jsale | last post by:
I'm currently using ASP.NET with VS2003 and SQL Server 2003. The ASP.NET app i have made is running on IIS v6 and consists of a number of pages that allow the user to read information from the...
6
by: Leo_Surf | last post by:
Hello, I need your help adding user in Active Directory from ASP.net website. Could any one provide me the complete code for the html page. As this is my curriculam project and I dont have any...
3
by: Luis Esteban Valencia | last post by:
Hello gusys, Is it possible to make my asp.net application add users to the AD , I also want to be able to delete users, modify their information, everything through a website. Thanks for the...
9
by: Patrick | last post by:
I have an ASP.NET page that searches for someone in the corporate Active Directory. It had been working fine until recently when I changed from Basic Authentication on IIS6 back to Integrated...
1
by: tangus via DotNetMonster.com | last post by:
Hello all, I'm really struggling with getting some Active Directory code to work in ASP.NET. Can you please provide assistance? I am executing the following code: Dim enTry As DirectoryEntry =...
3
by: Adrian Parker | last post by:
At the moment, we have a simple user id / password entry screen to login to our website, the data credentials are held in our database. We've now been asked to integrate with active directory so...
0
by: jakobsgaard | last post by:
It is possible to Map a certificate to a Active Directory User Account from DotNet? Please provide an example. Best regards, Ejnar Jakobsgaard...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.