How do you do....it? Thread, Allow staff to see a website but block students in Technical; We have a webpage running on our intranet server that we dont want students to be able to see.
We ...
-
6th October 2005, 09:03 AM #1
- Rep Power
- 0
Allow staff to see a website but block students
We have a webpage running on our intranet server that we dont want students to be able to see.
We run a windows server 2003 network and the staff are in one group and the students in another.
As we have recently moved to windows we're not sure how we can block access for students but allow for staff (it was much easier when we had ranger!) somewhere in group policy?
-
-
IDG Tech News
-
6th October 2005, 09:09 AM #2
- Rep Power
- 0
Re: Allow staff to see a website but block students
is it possible to run an asp script which will check the group of the logged on user, if staff show one page, if not show an error page?
-
-
6th October 2005, 09:09 AM #3
- Rep Power
- 0
Re: Allow staff to see a website but block students
is it possible to run an asp script which will check the group of the logged on user, if staff show one page, if not show an error page?
-
-
6th October 2005, 09:12 AM #4 Re: Allow staff to see a website but block students
If it's running locally on your web server, just change the permissions of the html or asp page you wish to restrict as you would any other file on the network. I use this to restrict our system status page to staff only.
-
-
6th October 2005, 10:51 AM #5
- Rep Power
- 0
Re: Allow staff to see a website but block students
Ive tried RobC's idea but it doesnt seem to work, it just denies access to everyone.
I am running Apache, MySQL and PHP on a Windows 2000 Pro box if thats any help (we've kept it separate from our main unix web server)
-
-
6th October 2005, 10:57 AM #6 Re: Allow staff to see a website but block students
I am running Apache, MySQL and PHP on a Windows 2000 Pro box if thats any help (we've kept it separate from our main unix web server)
You'll either need to switch to IIS on W2k or Apache on Linux. Apache on W2k doesn't understand NTLM authentication.
-
-
6th October 2005, 11:17 AM #7 Re: Allow staff to see a website but block students
NTFS permissions. Easy peasy. Pupils=DENY!
-
-
6th October 2005, 11:21 AM #8 Re: Allow staff to see a website but block students
have you tried using .htaccess & .htpasswrd?
-
-
7th October 2005, 08:46 AM #9
- Rep Power
- 0
Re: Allow staff to see a website but block students
If i switch to apache on linux how can i control access.
I like the idea of using apache as this works well for us on our main server whereas I dont seem to be having much success with IIS on W2K
-
-
7th October 2005, 08:58 AM #10 Re: Allow staff to see a website but block students
You setup Samba and Winbind as per usual for a domain member. Your distro should have information on how to do this.
Then you use mod_auth_pam on your apache site.
http://pam.sourceforge.net/mod_auth_pam/configure.html
Amusingly, the example supplied on the above page should be sufficent for your needs.
-
SHARE:
Similar Threads
-
By adamyoung in forum How do you do....it?
Replies: 14
Last Post: 11th December 2008, 08:01 PM
-
By daverage in forum General Chat
Replies: 9
Last Post: 15th June 2007, 03:06 PM
-
By acrobson in forum General Chat
Replies: 6
Last Post: 13th June 2007, 02:10 PM
-
By speckytecky in forum How do you do....it?
Replies: 5
Last Post: 7th July 2006, 12:54 PM
-
By Ric_ in forum General Chat
Replies: 32
Last Post: 25th July 2005, 07:17 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
-
Forum Rules