|
Hello all. I'm a newbie with some experience designing web sites. I have a question I think/hope is fairly basic about security and PHP scripts.
Situation: I have a website with a folder, let's say X1. There is a subfolder of X1 called X1a.
If I put an .htaccess file into X1a and set the appropriate permissions, I know that no one can access anything in X1a without a password (in theory, anyway! <g>.)
What I would like to do is put a PHP script in the parent, X1, that opens a page contained in X1a. I know how to do that using PHP and the Javascript window.open function. My question is, are there any techniques that are particularly good (options/parameters in .htaccess, permissions) for this task? Any especially good ways of doing it?
Thx all.
|