1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I add user group permissions to an independent PHP file?

Discussion in 'XenForo Development Discussions' started by Matt777, Jan 14, 2013.

  1. Matt777

    Matt777 Member

    I created a new, run-of-the-mill PHP file in my Xenforo directory called ShowVideo.php.

    I don't want unregistered users to be able to view this PHP file however. How would I prevent unregistered users from viewing it, using PHP if possible ? (n)
  2. Matt777

    Matt777 Member

    I found an alternative solution... BUT it would still be cool if I can do the above to add an extra layer of security
  3. James

    James Well-Known Member

    Matt777 and Jake Bunce like this.
  4. Matt777

    Matt777 Member

    8 months later, by the way, Thanks!! :)

Share This Page