Can you connect AT ALL to the Mac from outside of your LAN (ssh, ftp, afp, etc)?
I suspect not.
10.0.0.3 is a NAT address, is it not?
You would need to have port forwarding set up on your router AND you would need to make the request to the WAN address not the NAT (LAN) address. If you have...
In the apache forum I got help from user feherke on a method to serve large JPEGs as attachments rather than inline.
http://www.tek-tips.com/viewthread.cfm?qid=1375304
The script is working reliably. BUT I am concerned about security.
My concern with this tho is that someone might manipulate...
Thanks again feherke!
My script is posted below. Made a couple of small modifications.
My concern with this tho is that someone might manipulate the request string to get access to files that are not meant to be accessed (using ../../ or some such)
I *think* my script limits them to only...
For a photo gallery-type project I would like to have certain images served as attachments (downloaded) and other served inline as normal.
The rule I have in mind is as follows:
If:
A. the file is over 500KB in size
AND
B. And its name does not end with either _medium.jpeg or _thumb.jpeg...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.