Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
201 views
in Technique[技术] by (71.8m points)

security - Limit access to PHP scripts to my server and specific others

I have several PHP scripts that are hosted on an Apache server on Debian. They are invoked from pages on my website and JS that is loaded from my server, where they are executed using AJAX/JQuery.

I would like to limit access so that only my pages on my server, and JS loaded from my server, can access there scripts, plus one or two other specific server IPs.

What is the best way to achieve this?

Thanks.

question from:https://stackoverflow.com/questions/65869326/limit-access-to-php-scripts-to-my-server-and-specific-others

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...