Re: [encrypt] entire site?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52325
interpreted = N
texte = Here's exactly what I did (from Appendix D in the docs): Created a template called encrypit.tpl with the following code: Encrypt Test [writefile file=3Dnewfile.tpl&secure=3DF]Copyright =C2=A9 1999 Smith = Micro =20 Software http://www.smithmicro.com/ [encrypt]seed=3DXXXXXXX&product=3DWCAT[/encrypt] [encrypt seed=3DXXXXXXX][include =20 file=3Dfile.tpl&raw=3DT][/encrypt][/writefile] Here is file.tpl BLAH BLAH BLAH BLAH BLAH BLAH This is what I get in the browser: BLAH BLAH BLAH BLAH BLAH And this is what newfile.tpl looks like when I open it: Copyright =C2=A9 1999 Smith Micro Software http://www.smithmicro.com/ =C3=B6vxz=C3=B6%0B=E2=89=A4%25=C3=9A=C3=86=EF=AC=81%09=05=C3=83=E2=80=A6x=E2= =88=ABe=C2=BA%0DH=C3=8F\=C2=A0=C2=AANq=CE=A9=04=C3=85IH K3-=E2=80=98=C2=B8=02V=E2=89=A4=E2=89=88=CB=87=19=C3=86=E2=80=9AO=E2=89=A5= =C3=B2=1D>W=C2=A1=E2=80=A0t/=20 = =E2=88=8F=0Ezj]9=C2=A2=E2=80=A2=04%22=E2=80=A1=C3=98J0=E2=80=A1+}^d%25Q=C3= =8AJ=E2=88=9A_>hOL4Q=C2=A9=C3=B2=3D`Fxg%09*5=06=C3=B7=C2=B6=C3=B2=C3=AF=C3= =BAZ=18=E2=82=ACT=C2=BF=12=C3=B3=E2=97=8ANQ=C3=9A=7FqQ=C3=BA=0E=C2=AB=CB=87= g=20 =E2=88=82=C3=B2 QV=C2=B52 HTH, -- Will Starck NovaDerm Skincare Science http://www.novaderm.com wjs@novaderm.com On Tuesday, August 19, 2003, at 12:47 PM, Dan Strong wrote: > Need to encrypt every template of a site > (obviously not images, etc., just normally editable raw source). > > 1) I read the Appendix in the docs, tried that - Just shows encypted =20= > gobledygook upon calling from browser. Not what I want. I want the =20 > site to still function, just not be able to be modified until client =20= > pays. > > 2) I tried CyberMill's encrypt from a file dated 1/19/1999, a litte =20= > buggy... I'm trying to pinpont it now... would be happy to share... > > 3) I realize that I could roll my own: > [listfiles ..] > [encrypt...][include file=3Dmy_file.html][/encrypt] > [writefile ...]my_new_encrypted_file.html[/writefile] > [/listfiles] > > Blah, but it seems like I'm missing something fundamental about =20 > [encrypt]ing templates... any pointers? Anybody who's been down this =20= > road before care to share? > > Thanks, > > -Dan > ------------------------------------------------------------ > http://www.StrongGraphicDesign.com > (208) 319-0137 | Toll-free p/f 877-561-1656 > ------------------------------------------------------------ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to =20 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [encrypt] entire site? ( "Dan Strong" 2003)
  2. Re: [encrypt] entire site? ( "Dan Strong" 2003)
  3. Re: [encrypt] entire site? ( "Gary Krockover" 2003)
  4. Re: [encrypt] entire site? ( WJ Starck 2003)
  5. [encrypt] entire site? ( "Dan Strong" 2003)
Here's exactly what I did (from Appendix D in the docs): Created a template called encrypit.tpl with the following code: Encrypt Test [writefile file=3Dnewfile.tpl&secure=3DF]Copyright =C2=A9 1999 Smith = Micro =20 Software http://www.smithmicro.com/ [encrypt]seed=3DXXXXXXX&product=3DWCAT[/encrypt] [encrypt seed=3DXXXXXXX][include =20 file=3Dfile.tpl&raw=3DT][/encrypt][/writefile] Here is file.tpl BLAH BLAH BLAH BLAH BLAH BLAH This is what I get in the browser: BLAH BLAH BLAH BLAH BLAH And this is what newfile.tpl looks like when I open it: Copyright =C2=A9 1999 Smith Micro Software http://www.smithmicro.com/ =C3=B6vxz=C3=B6%0B=E2=89=A4%25=C3=9A=C3=86=EF=AC=81%09=05=C3=83=E2=80=A6x=E2= =88=ABe=C2=BA%0DH=C3=8F\=C2=A0=C2=AANq=CE=A9=04=C3=85IH K3-=E2=80=98=C2=B8=02V=E2=89=A4=E2=89=88=CB=87=19=C3=86=E2=80=9AO=E2=89=A5= =C3=B2=1D>W=C2=A1=E2=80=A0t/=20 = =E2=88=8F=0Ezj]9=C2=A2=E2=80=A2=04%22=E2=80=A1=C3=98J0=E2=80=A1+}^d%25Q=C3= =8AJ=E2=88=9A_>hOL4Q=C2=A9=C3=B2=3D`Fxg%09*5=06=C3=B7=C2=B6=C3=B2=C3=AF=C3= =BAZ=18=E2=82=ACT=C2=BF=12=C3=B3=E2=97=8ANQ=C3=9A=7FqQ=C3=BA=0E=C2=AB=CB=87= g=20 =E2=88=82=C3=B2 QV=C2=B52 HTH, -- Will Starck NovaDerm Skincare Science http://www.novaderm.com wjs@novaderm.com On Tuesday, August 19, 2003, at 12:47 PM, Dan Strong wrote: > Need to encrypt every template of a site > (obviously not images, etc., just normally editable raw source). > > 1) I read the Appendix in the docs, tried that - Just shows encypted =20= > gobledygook upon calling from browser. Not what I want. I want the =20 > site to still function, just not be able to be modified until client =20= > pays. > > 2) I tried CyberMill's encrypt from a file dated 1/19/1999, a litte =20= > buggy... I'm trying to pinpont it now... would be happy to share... > > 3) I realize that I could roll my own: > [listfiles ..] > [encrypt...][include file=3Dmy_file.html][/encrypt] > [writefile ...]my_new_encrypted_file.html[/writefile] > [/listfiles] > > Blah, but it seems like I'm missing something fundamental about =20 > [encrypt]ing templates... any pointers? Anybody who's been down this =20= > road before care to share? > > Thanks, > > -Dan > ------------------------------------------------------------ > http://www.StrongGraphicDesign.com > (208) 319-0137 | Toll-free p/f 877-561-1656 > ------------------------------------------------------------ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to =20 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ WJ Starck

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:

Error:Too many nested [xxx] contexts (1997) Why don't Typhoon & Firesite work together? (and webcat) (1998) [OT] Linux Vs. OSX (leopard) server (2007) Quotation Marks in Database (1998) Add htmlarea 3 to SiteBuilder (2004) many-to-one problem (1998) Performance Issue (2000) Database Not Found Problem (2004) Storefront Case Studies (1998) PIXO (1997) Upgrading old WebCat Database Files (1997) Creating main- and sub-category search (1997) Bug Report, maybe (1997) formatting dates from a field ... (1997) is there a global includes directory? (1998) WebDNA 4.5.1 Now Available (2003) Sunday [search] puzzler (1999) Server Load (2000) WebCatalog 2.0 b 15 mac (1997) Uh...can someone help me out with the b10? (1997)