Authenticate admin from external script (2 posts)

  1. lukeburns
    Posted 5 years ago #

    I have an external script located in the WP directory. I want to protect this from everyone except the admin. I was wondering if there was a way to do this. Maybe through WP cookies?

    The script is very simple. I just want to include something that requires the admin to be logged in. When logged in, they can access the directory as normal.

  2. lukeburns
    Posted 5 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic