Re: [WebDNA] directory protection questions

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 100259
interpreted = N
texte = >so all you should have to do it match up your passwords between your login >system and your htpassword file and use htaccess protection. And therein lies the problem. Generating the=20 passwords in encrypted format for htaccess to=20 interpret. The encryption is tied to the=20 directory being protected. If there was a command=20 in webcat to do this, it would be great. Will=20 Starck sent a link earlier that shows how to do=20 this from the command line. Once you get the=20 encryption down, then it's just a matter of=20 putting the whole thing together, so the new=20 entry is added when someone signs up, and also so=20 the file is regenerated as people's memberships=20 expire. To run the shell script, I have to=20 involve my ISP, since I am no longer running my=20 own server. I'm getting there... thanks everyone for your=20 help so far! I promise to share once complete. Terry Terry, Sorry - yea - I misunderstood what you were=20 looking for. The code I posted is to control file=20 downloads, if you want to show the image in html=20 page you could try the =A0code below. All I am doing here is denying public access to=20 the folder, allowing access to WebDNA (the=20 'Options ExecCGI'), and then proxying the image=20 through WebDNA. =A0I came across this page and=20 thought it might be possible with WebDNA=20 (http://www.l= unawebs.com/blog/2008/02/22/secure-file-download/). If you're using browser authentication already -=20 then I thought realm protection used this - so=20 all you should have to do it match up your=20 passwords between your login system and your=20 htpassword file and use htaccess protection. - Tom Demo URL http://www.revolutionari= es.ie/testspace/test2.tmpl htaccess in folder to be protected AuthType Basic AuthName "Restricted Stuff" Options ExecCGI WebDNA Template showing image [!] [/!] WebDNA Template that calls in image [!] [/!] [text]exportFilePath=3Dsecure/[/text] [text]exportFile=3Dtab.png[/text] [text]line_ending=3D%0D%0A[/text] [returnRaw=20 binarybody=3D[exportFilePath][exportFile]]HTTP/1.0=20 200 OK[unurl][line_ending][/unurl][!] [/!]Status: 200[unurl][line_ending][/unurl][!] [/!]Content-Type: image/png[unurl][line_ending][/unurl][!] [/!][/returnraw] -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://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:

    
  1. Re: [WebDNA] directory protection questions ("Tom Duke" 2008)
  2. Re: [WebDNA] directory protection questions (Terry Wilson 2008)
  3. Re: [WebDNA] directory protection questions (Terry Wilson 2008)
  4. Re: [WebDNA] directory protection questions ("Tom Duke" 2008)
  5. RE: [WebDNA] directory protection questions (Terry Wilson 2008)
  6. Re: [WebDNA] directory protection questions ("Tom Duke" 2008)
  7. RE: [WebDNA] directory protection questions (Terry Wilson 2008)
  8. Re: [WebDNA] directory protection questions (Terry Wilson 2008)
  9. Re: [WebDNA] directory protection questions ("Tom Duke" 2008)
  10. Re: [WebDNA] directory protection questions (Terry Wilson 2008)
  11. Re: [WebDNA] directory protection questions ("Tom Duke" 2008)
  12. Re: [WebDNA] directory protection questions (Bob Minor 2008)
  13. RE: [WebDNA] directory protection questions ("Will Starck" 2008)
  14. Re: [WebDNA] directory protection questions (Terry Wilson 2008)
  15. Re: [WebDNA] directory protection questions (Dale Therio 2008)
  16. RE: [WebDNA] directory protection questions (Terry Wilson 2008)
  17. Re: [WebDNA] directory protection questions (Terry Wilson 2008)
  18. Re: [WebDNA] directory protection questions (Terry Wilson 2008)
  19. RE: [WebDNA] directory protection questions ("Will Starck" 2008)
  20. Re: [WebDNA] directory protection questions (Colin Sidwell 2008)
  21. Re: [WebDNA] directory protection questions (Frank Nordberg 2008)
  22. Re: [WebDNA] directory protection questions (Stuart Tremain 2008)
  23. [WebDNA] directory protection questions (Terry Wilson 2008)
>so all you should have to do it match up your passwords between your login >system and your htpassword file and use htaccess protection. And therein lies the problem. Generating the=20 passwords in encrypted format for htaccess to=20 interpret. The encryption is tied to the=20 directory being protected. If there was a command=20 in webcat to do this, it would be great. Will=20 Starck sent a link earlier that shows how to do=20 this from the command line. Once you get the=20 encryption down, then it's just a matter of=20 putting the whole thing together, so the new=20 entry is added when someone signs up, and also so=20 the file is regenerated as people's memberships=20 expire. To run the shell script, I have to=20 involve my ISP, since I am no longer running my=20 own server. I'm getting there... thanks everyone for your=20 help so far! I promise to share once complete. Terry Terry, Sorry - yea - I misunderstood what you were=20 looking for. The code I posted is to control file=20 downloads, if you want to show the image in html=20 page you could try the =A0code below. All I am doing here is denying public access to=20 the folder, allowing access to WebDNA (the=20 'Options ExecCGI'), and then proxying the image=20 through WebDNA. =A0I came across this page and=20 thought it might be possible with WebDNA=20 (http://www.l= unawebs.com/blog/2008/02/22/secure-file-download/). If you're using browser authentication already -=20 then I thought realm protection used this - so=20 all you should have to do it match up your=20 passwords between your login system and your=20 htpassword file and use htaccess protection. - Tom Demo URL http://www.revolutionari= es.ie/testspace/test2.tmpl htaccess in folder to be protected AuthType Basic AuthName "Restricted Stuff" Options ExecCGI WebDNA Template showing image [!] [/!] WebDNA Template that calls in image [!] [/!] [text]exportFilePath=3Dsecure/[/text] [text]exportFile=3Dtab.png[/text] [text]line_ending=3D%0D%0A[/text] [returnRaw=20 binarybody=3D[exportFilePath][exportFile]]HTTP/1.0=20 200 OK[unurl][line_ending][/unurl][!] [/!]Status: 200[unurl][line_ending][/unurl][!] [/!]Content-Type: image/png[unurl][line_ending][/unurl][!] [/!][/returnraw] -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://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:

[WebDNA] [OT] Google redirect or not (2014) New public beta available (1997) Virtual hosting and webcatNT (1997) Serial Number Question (1997) Shipping charges based on dollar level (1997) WCS Newbie question (1997) thread discussion solution (2000) [WebDNA] WebDNA Host being retired (2014) [ShowNext] (1997) my price won't move (1997) Cold Fusion (1998) WebCat2b15MacPlugin - showing [math] (1997) Active Server Code... (1998) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Random Image (1998) WebCat with WebTen (1998) Problems with [Applescript] (1997) WebCat for Unix?? (1997) WebCat2b13MacPlugIn - more [date] problems (1997) [Cart] ... (1997)