Re: [WebDNA] directory protection questions
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100254
interpreted = N
texte = Hi Tom,That's an interesting process. So you just send=20an incoming variable of exportFile=3Dfilename. But=20if the image is embedded into an html page, it=20would ask for a password, no?I am currently using browser authentication (not=20cookies) for this particular site, but just not=20realm protection. I just use page protection via=20the [protect] tag. So that part isn't the=20problem. I do use cookies on my other sites=20though.TerryTerry,My issue with realm based passwords is that if=20you have used a cookie based system for login to=20a secure area then the user is forced to re-enter=20a realm username/password for file download. =A0I'm=20sure you could engineer it so that it is the same=20username/password for both - but the user is=20still inconvenienced.If the code I posted works (and I haven't tested=20it on a PC yet) then one cookie based login will=20suffice. =A0Once you then determine which files the=20user is allowed to download you make sure that=20only those filenames are passed to the download=20script.- Tom-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Associated Messages, from the most recent to the oldest:
Hi Tom,That's an interesting process. So you just send=20an incoming variable of exportFile=3Dfilename. But=20if the image is embedded into an html page, it=20would ask for a password, no?I am currently using browser authentication (not=20cookies) for this particular site, but just not=20realm protection. I just use page protection via=20the
[protect] tag. So that part isn't the=20problem. I do use cookies on my other sites=20though.TerryTerry,My issue with realm based passwords is that if=20you have used a cookie based system for login to=20a secure area then the user is forced to re-enter=20a realm username/password for file download. =A0I'm=20sure you could engineer it so that it is the same=20username/password for both - but the user is=20still inconvenienced.If the code I posted works (and I haven't tested=20it on a PC yet) then one cookie based login will=20suffice. =A0Once you then determine which files the=20user is allowed to download you make sure that=20only those filenames are passed to the download=20script.- Tom-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Terry Wilson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Data Entry ... Excel Style ... How To? (2001)
database visibility (2000)
hiding blank fields (2003)
[WebDNA] client request (2010)
WEBCAT HIERARCHY (1999)
WebCat2b15MacPlugin - [protect] (1997)
URGENT: PERHAPS A BUG, woFIELDdata & FIELDword=ww (2002)
WebCatalog2 Feature Feedback (1996)
[WebDNA] Procedures to update to OSX Yosemite (2014)
[date] formatting bug inside [orderfile]? (1998)
Append command(2) (2000)
OFF-TOPIC: Check www.godaddy.com for me ... (2003)
[WebDNA] Send a print command to a thermal printer? (2012)
Summing fields (1997)
emailer cc to figured out (1997)
[TEXT SECURE=T] (2000)
forming a SKU (1999)
[SearchString] problem with [search] context (1997)
WebCatalog on SUSE-Linux 6.3... please help! (2000)
Forumulas.db & Variables (2002)