Ok so I preface this with the statement that I have never written a .htaccess files in my life but I think writing one to do what I need is very simple if you aren't stupid like me So I have a script that I'm looking to sell so I obviously need to give a page where the script is active so a buyer can see what they're getting. Obviously I don't want them being able to just type the scripts address and view the contents as that totally defeats the sale as they could then just steal it. I know that the .htaccess file can block public viewing of a file and only allow other files located on my server to use it, but as I said before I have no idea what I'm doing with a .htaccess file. Would anyone here be willing to write this for me, I'm pretty sure it would only be a few lines and I would do it but I really just have no idea what I'm doing. I would really appreciate the help, thanks in advance.