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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -