Hiding Files
-
Hello,
I have a question regarding a plugin I am developing for someone. My plugin generates pdf forms based on input from public facing forms and then stores the forms on the backend. Right now I am storing the files generated under wp-content/plugins/myplugin/admin/a_folder. I am able to view the pdf’s while not logged in if I know the filename. Directory browsing is turned off and I have placed a .htaccess file under the plugin/admin folder but still able to see the files.
Is there anything I can use with wordpress to make sure a user is logged in as admin before viewing these files?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Hiding Files’ is closed to new replies.