Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

making scripts inaccessible to visitors

Posted on 2002-05-18
1
Medium Priority
?
191 Views
Last Modified: 2006-11-17
If I put my scripts in a directory in my www tree, can someone download it from there?  If so how can I prevent that?  Can I put my scripts in a directory above the www tree?
0
Comment
Question by:castello
1 Comment
 
LVL 2

Accepted Solution

by:
jpoesen earned 200 total points
ID: 7019413
they can't download them, since every http request will be handled by the webserver which will execute the script and return the html, in stead of returning the script itself.

jpoesen
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question