Then the file isn’t ending up in the right folder on your server. I recommend you try the following, just to confirm my suspicions.
- Make a new Freeway document, set it to publish into the protected folder you already made at your ISP.
- On the index page of that new document, draw an HTML box and double-click into it.
- From the main menu, choose Insert / Action Item / Link to File.
- In the Actions palette, choose your desired protected file, and enter your link text.
Publish and upload from Freeway into the protected folder. If you’re looking at your site through an FTP application, you should see the following structure:
/http_docs/ (or whatever it's called there)
/protected/
index.html
/Resources/
_clear.gif
protected_file.pdf
Obviously, there will be other files as well, but that’s the point I want to make – your file that you want to have download after a password must be inside or nested below that /protected/ folder (or whatever else you called it – the name doesn’t confer any protection).
Now if you visit http://example.com/protected/ you should be challenged for a password. If you provide it once (per session) you should then be able to see index.html, which shows you a link to http://example.com/protected/Resources/protected_file.pdf. If you click on that link, you should (without any further password hoohah) get that file. If you then copy the entire link to the protected file, quit your browser, start it back up, and paste that URL into the Location field, you should be challenged once again for the password.
This is how Basic Auth security realms work: you are challenged only once per session for access to the protected folder and anything stored beneath that level of the filesystem hierarchy. You said that you weren’t being challenged at all, which leads me to suspect that the file wasn’t being uploaded where you thought it was.
Walter
On Jan 9, 2013, at 6:52 PM, Artivideo wrote:
@waltd
I use safari but also other with other browsers it does not work (again it only works if I use the acyion “link to file” (you can see that working on my site www.artivideo.nl, de VAR button on the left bottom) but not when I use the :force php dowload" action. I did a empty cash, reset safari, than closed the browser. After opening the browser the user/passw is still bypassed.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options