How To Get 403 Forbidden or a Redirect on Certain Pages?

Discussion in 'Programming' started by Vadym, Jan 30, 2009.

  1. #1
    Hey there,

    I've got a new product coming out, and I need to forbid the access of others to some files.

    I either need it to give a person the 403 Error when they try to access a folder, or redirect them back to the main page.

    How would I go about this?

    Thanks!
     
    Vadym, Jan 30, 2009 IP
  2. webhost.uk.net

    webhost.uk.net Well-Known Member

    Messages:
    296
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    128
    #2
    webhost.uk.net, Jan 30, 2009 IP
    Vadym likes this.
  3. harrisunderwork

    harrisunderwork Well-Known Member

    Messages:
    1,005
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    135
    #3
    harrisunderwork, Jan 30, 2009 IP
    Vadym likes this.