Jump to content

Archived

This topic is now archived and is closed to further replies.

johnnyk

CHMOD of SSI

Recommended Posts

In my current setup, the .inc files are 644, but the folder that contains them is 755.

But I am still about to include the files from other websites. How do I set the CHMOD so that the files cannot be included from any other site?

Share this post


Link to post
Share on other sites
From another website, on another server, you would need to check with the hosting companies
They normally either block this, or need the IP address to allow access.

This is to stop people linking to a connecting file to get into your database

Share this post


Link to post
Share on other sites
Using 644, I can still view the .inc file (when it includes html) direct from browser.

Also, can I prevent other sites from using my .incs with the .htaccess hotlinking thing?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.