+ Post New Thread
Results 1 to 10 of 10
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 ...
  1. #1

    Join Date
    Sep 2005
    Location
    Sheffield
    Posts
    136
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    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?

  2. #2

    Join Date
    Jun 2005
    Location
    Bristol
    Posts
    51
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    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?

  3. #3

    Join Date
    Jun 2005
    Location
    Bristol
    Posts
    51
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    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?

  4. #4

    Join Date
    Jun 2005
    Location
    Elgin, Scotland
    Posts
    387
    Thank Post
    1
    Thanked 4 Times in 4 Posts
    Rep Power
    23

    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.

  5. #5

    Join Date
    Sep 2005
    Location
    Sheffield
    Posts
    136
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    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)

  6. #6

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    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.

  7. #7

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,844
    Thank Post
    583
    Thanked 2,162 Times in 987 Posts
    Blog Entries
    23
    Rep Power
    627

    Re: Allow staff to see a website but block students

    NTFS permissions. Easy peasy. Pupils=DENY!

  8. #8
    StewartKnight's Avatar
    Join Date
    Jun 2005
    Posts
    1,587
    Thank Post
    2
    Thanked 27 Times in 21 Posts
    Rep Power
    30

    Re: Allow staff to see a website but block students

    have you tried using .htaccess & .htpasswrd?

  9. #9

    Join Date
    Sep 2005
    Location
    Sheffield
    Posts
    136
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    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

  10. #10

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    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:
+ Post New Thread

Similar Threads

  1. Students send staff files
    By adamyoung in forum How do you do....it?
    Replies: 14
    Last Post: 11th December 2008, 07:01 PM
  2. Use of Images of students on a website
    By daverage in forum General Chat
    Replies: 9
    Last Post: 15th June 2007, 03:06 PM
  3. How to block GChat....Just for the students!
    By acrobson in forum General Chat
    Replies: 6
    Last Post: 13th June 2007, 02:10 PM
  4. Block students changing desktops etc
    By speckytecky in forum How do you do....it?
    Replies: 5
    Last Post: 7th July 2006, 12:54 PM
  5. 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
  •