javascript - What should I do so that I block JS file(on server) access from URL but can be accessed from page in script tag? -



javascript - What should I do so that I block JS file(on server) access from URL but can be accessed from page in script tag? -

i used block access url blocked access php page.

rewriteengine on rewritecond %{http_referer} !^http://(www\.)?domain\.ltd [nc] rewritecond %{http_referer} !^http://(www\.)?domain\.ltd.*$ [nc] rewriterule \.(gif|jpg|js|txt)$ /messageforcurious [l]

javascript php .htaccess

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -