Re: [WebDNA] OT? - how to get webdna to tell browser to open

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103469
interpreted = N
texte = You could also just periodically change the name of the file(s), or maybe= even easier -- the=20 folder, that the .swf's live in. I do that with a
of mine to preve= nt spam and it works.=20 Basically, I name the landing page that the form submits to with a timest= amp and a random code=20 (_676543332987-xYhUWQ2.html), and whenever the form page is loaded (this = way no need for triggers=20 and is only fired when needed, saving server resources) I do a check on t= he landing page and if=20 enough time has passed, I change the name. Similar to this: --------------------- [!]-- filename looks like this: "_676543332987-xYhUWQ2.html" --[/!] [text]now=3D[math]((([math]{[date]}[/math])-1)*86400)+([math]{[time]}[/ma= th])[/math][/text] [text]keyGen=3D[include ^keyMaker.txt][/text] [!]-- See: http://www.webdn= a.us/page.dna?numero=3D49=20 --[/!] [listFiles path=3D/whereever/your/stuff/is/] [showif [filename]~_] [showif [math][now]-[middle startafter=3D_&endbefore=3D-][filename][/midd= le][/math]>3600][!]-- Change=20 interval in seconds, in this case 1hr --[/!] [moveFile from=3D[filename]&to=3D_[now]-[keyGen].html] [/showif] [/showif] [/listFiles] On Wed, 26 Aug 2009 10:17:42 -0600 Govinda wrote: > Pat >=20 > I am new enough at all things flash, that I am glad to see your input; = I never know what I'm=20 >going to need to learn from.. but I think you missed what I need most= right now; I already had=20 >html pages that were successfully playing swf files.. and I am already= successfully protecting=20 >those pages with a custom webdna (cookie/db) protection scheme.. (user= s need to be members to=20 >see the swf files), .. But what I don't have is a way to keep clever us= ers from looking at the=20 >source html of the page and sending the link to the actual swf file to = a non- member friend who=20 >can then simply enter that URL in his browser and so bypass my protecti= on scheme. > Thus (thanks to Dan Strong) I tried using that [returnraw] code (see =20 > below) which allows me to first check with webdna (on the same page) = if the user is a member,=20 >and if so then just dump the swf file (located in ^Globals, unaccessibl= e directly) to the user=20 >with [returnraw].. . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Govinda 2009)
  2. [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? ("Terry Nair" 2009)
  3. Re: [WebDNA] OT? - how to get webdna to tell browser to open ("Dan Strong" 2009)
  4. Re: [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Govinda 2009)
  5. Re: [WebDNA] OT? - how to get webdna to tell browser to open ("Dan Strong" 2009)
  6. Re: [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Govinda 2009)
  7. Re: [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Patrick McCormick 2009)
  8. Re: [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Govinda 2009)
  9. [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? ("Terry Nair" 2009)
  10. [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Govinda 2009)
You could also just periodically change the name of the file(s), or maybe= even easier -- the=20 folder, that the .swf's live in. I do that with a of mine to preve= nt spam and it works.=20 Basically, I name the landing page that the form submits to with a timest= amp and a random code=20 (_676543332987-xYhUWQ2.html), and whenever the form page is loaded (this = way no need for triggers=20 and is only fired when needed, saving server resources) I do a check on t= he landing page and if=20 enough time has passed, I change the name. Similar to this: --------------------- [!]-- filename looks like this: "_676543332987-xYhUWQ2.html" --[/!] [text]now=3D[math]((([math]{[date]}[/math])-1)*86400)+([math]{[time]}[/ma= th])[/math][/text] [text]keyGen=3D[include ^keyMaker.txt][/text] [!]-- See: http://www.webdn= a.us/page.dna?numero=3D49=20 --[/!] [listFiles path=3D/whereever/your/stuff/is/] [showif [filename]~_] [showif [math][now]-[middle startafter=3D_&endbefore=3D-][filename][/midd= le][/math]>3600][!]-- Change=20 interval in seconds, in this case 1hr --[/!] [moveFile from=3D[filename]&to=3D_[now]-[keyGen].html] [/showif] [/showif] [/listFiles] On Wed, 26 Aug 2009 10:17:42 -0600 Govinda wrote: > Pat >=20 > I am new enough at all things flash, that I am glad to see your input; = I never know what I'm=20 >going to need to learn from.. but I think you missed what I need most= right now; I already had=20 >html pages that were successfully playing swf files.. and I am already= successfully protecting=20 >those pages with a custom webdna (cookie/db) protection scheme.. (user= s need to be members to=20 >see the swf files), .. But what I don't have is a way to keep clever us= ers from looking at the=20 >source html of the page and sending the link to the actual swf file to = a non- member friend who=20 >can then simply enter that URL in his browser and so bypass my protecti= on scheme. > Thus (thanks to Dan Strong) I tried using that [returnraw] code (see =20 > below) which allows me to first check with webdna (on the same page) = if the user is a member,=20 >and if so then just dump the swf file (located in ^Globals, unaccessibl= e directly) to the user=20 >with [returnraw].. . "Dan Strong"

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:

Re: (1998) Weird happenings (1998) WebCat/CyberStudio Compatibility (1998) Carts & Refering URLs (1997) Searching (2005) Uploading very large image files (2003) NT b19 sends extra MIME headers (1997) Multiple prices per product (2004) [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (2009) Emailer (1999) Sendmail (2000) unable to launch acgi in WebCat (1997) Emailer setup (1997) [delete] problem (1997) Is [thisurl] http or https? (1998) Bug alert! (1997) WebDNA on Apache/Xserve (2003) Did you hear about this? (1997) FAX orders (1996) FW: Shipping calculations (1997)