> > private=[private]
> > resurrection=[resurrection]
> >> > All went well with the above test code . . .> >> > . . .> >> > I just can't get my procedures to work with authenticate . . . .> > All stops at Bad Password> >> >> >> >> >> >> > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list > > private=[private] > > resurrection=[resurrection] > >> > All went well with the above test code . . .> >> > . . .> >> > I just can't get my procedures to work with authenticate . . . .> > All stops at Bad Password> >> >> >> >> >> >> > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list DOWNLOAD WEBDNA NOW! 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...
AhaIf I just use [encrypt] can I still do comparisons etc like I'm trying to do???If I can't . . .how can I protect a password using webcats internal authentication . . . or can I ??It all was working fine until I starting to insert encryp stuff . . . .At 10:36 AM 7/27/02, you wrote:>Lester, you cannot encrypt with a seed when you are using WebCats internal>authentication.you just need to use just [encrypt], the downside is you >cannot decrypt it.>>Alain>> > I'm stymied.> > Why won't these procedures authenticate a password encrypted and> > written to a database?> >> >> > Following a procedure outlined by Ken I came across in the archives . .> > .> >> > I copied the users.db database and renamed it members.db> > I copied MultiGroupChecker and renamed it MemberChecker> > Placed both of the new files in the same folder as pages I want to> > protect> >> >> > I use this to write a username/password combo into a database.> >> > [append> > db=members.db]user=[uppercase][user][/uppercase]&pass=[url][url][encrypt> >> > > seed=1234][uppercase][pass][/uppercase][/encrypt][/url][/url]&groups=e-info[/append]>> >> > On top of pages to protect I have:> > [include file=MemberChecker&groups=e-info]> >> > In my MemberChecker I have the following:> >> > [!] check for user in members.db[/!]> > [showif NotFound=[lookup> > > db=members.db&lookinField=user&value=[uppercase][username][/uppercase]&returnField=user¬Found=NotFound]]> > [authenticate Bad User]> > [/showif]> >> > [!] Check password of user in members.db[/!]> > [showif [uppercase][password][/uppercase]![lookup> > > db=members.db&lookinField=user&value=[uppercase][username][/uppercase]&returnField=[decrypt> >> > seed=1234][unurl][unurl]pass[/unurl][/unurl][/decrypt]¬Found=NotFound]> > [authenticate Bad Password]> > [/showif]> >> >> >> > To make sure I was encrypting and decrypting the password properly I> > made another page with the following:> >> >> > [text]public=Ginny+me^$1234[/text]> >> > [text]private=[url][url][encrypt> > seed=1234][uppercase][public][/uppercase][/encrypt][/url][/url][/text]> >> > [text]resurrection=[decrypt> > seed=1234][unurl][unurl][private][/unurl][/unurl][/decrypt][/text]> >> > public=[public]
Top Articles:
Talk List
Related Readings:
Looping control (1997)
WebCatalog dying in WebTen Revisited (1998)
weird G3 happenings (1998)
displaying [cart] contents with a pull-down & frames (1998)
OrderFile (2000)
Can I use a [closedatabase] inside an [exclusivelock]? (2000)
WebDNA-Talk Digests (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
space at start of menu (2000)
Web Catalog 2 demo (1997)
Calculating multiple shipping... (1997)
listfile options (1997)
unable to launch acgi in WebCat (1997)
Re(6): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998)
WebDNA 5.1 and Mac OS X Server v10.3 - Working ??? (2003)
Rhapsody? (1997)
HELP WITH DATES (1997)
[WebDNA] How much does it cost now? (2008)
WebTEN vs webSTARtopic (1998)
NetForms for mail, sorry (1998)