Re: Protect and Serve
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23482
interpreted = N
texte = >---------->>> ok I changed it then tried it with this>>>> [ShowIf id![id]]>> [text]unauthorized=T[/text]>> [/ShowIf]>>>> [ShowIf access![access]]>> [text]unauthorized=T[/text]>> [/ShowIf]>>>> [ShowIf [unauthorized]=T]>> show me>> [/ShowIf]>>>> then no matter what it id and access was even if the name and password>> were in the database it still brings up the unauthorized textTry this, it works for me (I have added returns to make it readable):[hideif[url][password][/url]=[url][lookup db=RPCUsers.db&lookinfield=USER&value=[USERNAME]&returnfield=pass¬found=somethingrubbish][/url]][authenticate RiuRPC][/hideif][showif[url][password][/url]=[url][lookup db=RPCUsers.db&lookinfield=USER&value=[USERNAME]&returnfield=pass¬found=somethingrubbish][/url]]
Protected stuff...
[/showif]Hope this helps,Charles_____________________________________________Institut Balear de Comunicacions, S.L.Gremio Tejedores 22, 107009 Palma de Mallorca, Spain_____________________________________________Tel: +34 971.43.12.77Fax: +34 971.43.08.18E-mail: ckefauver@ibacom.esURL: http://www.ibacom.es/_____________________________________________Public PGP signature (Clave publica PGP):http://www.ibacom.es/PGP/kefauver.txt_____________________________________________
Associated Messages, from the most recent to the oldest:
>---------->>> ok I changed it then tried it with this>>>> [ShowIf id![id]]>>
[text]unauthorized=T[/text]>> [/ShowIf]>>>> [ShowIf access![access]]>>
[text]unauthorized=T[/text]>> [/ShowIf]>>>> [ShowIf [unauthorized]=T]>> show me>> [/ShowIf]>>>> then no matter what it id and access was even if the name and password>> were in the database it still brings up the unauthorized textTry this, it works for me (I have added returns to make it readable):[hideif
[url][password][/url]=
[url][lookup db=RPCUsers.db&lookinfield=USER&value=
[username]&returnfield=pass¬found=somethingrubbish][/url]][authenticate RiuRPC][/hideif][showif
[url][password][/url]=
[url][lookup db=RPCUsers.db&lookinfield=USER&value=
[username]&returnfield=pass¬found=somethingrubbish][/url]]
Protected stuff...
[/showif]Hope this helps,Charles_____________________________________________Institut Balear de Comunicacions, S.L.Gremio Tejedores 22, 107009 Palma de Mallorca, Spain_____________________________________________Tel: +34 971.43.12.77Fax: +34 971.43.08.18E-mail: ckefauver@ibacom.esURL: http://www.ibacom.es/_____________________________________________Public PGP signature (Clave publica PGP):http://www.ibacom.es/PGP/kefauver.txt_____________________________________________
Charles Kefauver
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:
in conversions.db crashes unix webcat (1999)
Permission denied? (2004)
[WebDNA] WebDNA jQuery JSON javascript stuff (2010)
Dubble Sku's in a Database (1999)
RE: [WebDNA] OS and version (2019)
FM PRO Compatibility Issue - Single Database w/o Conversions (1997)
OT (maybe) Setting up local (non internet) test computers (2000)
WC Database Format (1997)
Newbie problem blah blah blah (1997)
IE-caching (1998)
WebCatalog not running after upgrade (2000)
WIDGET: random image generator (2007)
Lineitems [text*] (2004)
Search probl. since change WebCatalog from 2.1.3 to 3.0 (1998)
database size? (1997)
What am I doing wrong? (2000)
Online reference (1997)
problems with 2 tags (1997)
Keep away (1997)
[ipaddress] (2003)