Hi,

I want to put upload.php in a folder (secure/) that is protected via .htaccess, since I do not want people to directly access this file. Only swfupload should be able to access this file, and only from localhost.

The htaccess only allows connections from localhost, so require_once() & include() to files in this directory works like a charm, since the requests come from localhost.

However, when I place upload.php in this folder and I put my upload_url to http://myhost.com/secure/upload.php, it show the Forbidden error code.

I don't know a lot about Flash, so maybe this is a really stupid question. Can anyone shed some light?

Thanks a bunch.