permissions – How to make file not open to public but javascript file under WordPress folder can load it
Question
I have one csv file for WordPress using. It put under my theme folder. I don’t want that open to public but only a js file under the theme folder can read it and retrive data.
How should I set the permission?
I have set the csv file permission to 640, it cannot open on the browser, but my js file cannot read it as well.
0
2 years
2021-03-23T23:40:17-05:00
2021-03-23T23:40:17-05:00 0 Answers
0 views
0
Leave an answer