okui Posted November 15, 2008 Share Posted November 15, 2008 hi, i find when i type http://domain/lang/english.txt, we can look all the translation of the english.txt, i want to ask if it is possible that we can secure the translation ? and can not let people find/read it? i only think to change the file name with random,like yt654trfwrs.txt for instance, but i want to make sure another if it is possible that people can find the file name from whmcs scripts code ? thank 0 Quote Link to comment Share on other sites More sharing options...
herpherp Posted November 15, 2008 Share Posted November 15, 2008 http://forum.whmcs.com/showthread.php?t=8783 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 15, 2008 Share Posted November 15, 2008 This is what I use in a .htaccess in the public_html folder (obviously change the domain name) RewriteEngine onRewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?tshosting.com.au [NC] RewriteRule \.(txt|tpl)$ - [NC,F,L] 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.