|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
I have a dedicated server on Fasthosts which serves a fairly big website. It runs IIS on NT. My wish is to be able to include certain specified files with the php include function, but to disallow the files to be displayed directly in the browser. Is there a way to do this in IIS? Thank you very much, |
|
#2
|
|||
|
|||
|
Easiest is to put the include folder outside of the web. That way your code can use the files, but a user browser can never get to them. You need to set proper permissions on the new include folder so the web server can get there.
There are ways to make a folder in your web space be "non-browsable" by a user, but I'm not sure how you set permissions for that to happen.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Limit file access to include-only |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|