Here’s my small dilemma.
I need to write a file via php that is only accessible from files on the same server.
ie; a swf/php file on the same server can access that file, and write that file - but noone and nothing else.
chmod won’t really do anything for me here, since the “owner” won’t really be apache. (webserver).
I was thinking this though, in .htaccess … would that work?
<Files securefile.pxx>
order deny,allow
deny from all
allow from xx.xx.xx.xx
</Files>
Since apache will always be allowed it’s own content, wouldn’t that fly?