Reply
password protection
Old 05-15-2004, 03:19 PM password protection
Novice Talker

Posts: 9
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.
notmadscientist is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Reply     « Reply to password protection
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10167 seconds with 13 queries