How do i access data from outside the public folder
I'm making a website and I want to put the admin folder out of the public directory. (for obvious security reasons) I don't know how to do that. My guess is that I'm going to have to do that on the server-side, but I need some help.
well, the thing is, how you are doing this is incorrect. You are right now just blindly hosting it on the website without having any check of any cookies.
I recomend checking out this link https://www.quora.com/How-do-I-block-inspect-element-on-my-website. be careful as it has no moderated chat. thats for the inspecting. for the rest just do <script src="admin-repl.username.repl.co></script> to embed it for more privacy you should just upgrade to hacker and make it a private repl.