Re: [protect admin]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12335
interpreted = N
texte = >Currently using the 2.of3 acgi from the cgi-bin.>The cgi-bin folder contains the webcat .pref file & users.db file.>>It was my understanding that placing [protect admin] would call a usr/pass>box for entry.>>This was to provide username password protection to .tmpl file.>>WRONG!!!! I can log into my site and access a .tmpl file that has [protect>admin] directly. And yes I restarted netscape prior to logon.>>WebCat is doing NO protection of any kind for me. What's Up????You moved the users.db file out of the WebCatalog folder, so WebCatalogcannot find it, so it cannot 'protect' your pages.If you plan to use the [protect] tag, you have to leave things where theywere when you downloaded the WbeCatalog package. The path to the users.dbfile is hard-coded into the software, so you cannot move the users.db andexpect to use [protect].Of course, if you want to write your own WebDNA to do the same kind ofthing [protect] does, then you can move the users.db file wherever youplease - you just won't be able to use the [protect] tag, instead you'llhave to use your own custom-coded replacement [include] tags and relatedfiles.I've 'been there, done that' ... and I've learned that life's a lot easierwhen you don't move some things around unless it's absolutely necessary ...:)Sincerely, Ken GromeWebDNA Solutions
Associated Messages, from the most recent to the oldest:
>Currently using the 2.of3 acgi from the cgi-bin.>The cgi-bin folder contains the webcat .pref file & users.db file.>>It was my understanding that placing [protect admin] would call a usr/pass>box for entry.>>This was to provide username password protection to .tmpl file.>>WRONG!!!! I can log into my site and access a .tmpl file that has [protect>admin] directly. And yes I restarted netscape prior to logon.>>WebCat is doing NO protection of any kind for me. What's Up????You moved the users.db file out of the WebCatalog folder, so WebCatalogcannot find it, so it cannot 'protect' your pages.If you plan to use the
[protect] tag, you have to leave things where theywere when you downloaded the WbeCatalog package. The path to the users.dbfile is hard-coded into the software, so you cannot move the users.db andexpect to use
[protect].Of course, if you want to write your own WebDNA to do the same kind ofthing
[protect] does, then you can move the users.db file wherever youplease - you just won't be able to use the
[protect] tag, instead you'llhave to use your own custom-coded replacement
[include] tags and relatedfiles.I've 'been there, done that' ... and I've learned that life's a lot easierwhen you don't move some things around unless it's absolutely necessary ...:)Sincerely, Ken GromeWebDNA Solutions
Kenneth Grome
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:
Separate SSL Server (1997)
groups and [ShowNext] (1997)
admin:admin won't work for login:password ! (1999)
Not reading code (1997)
back button loses cart (2000)
Upgrading old WebCat Database Files (1997)
Help! WebCat2 bug (1997)
URGENT: BUG, woFIELDdata & FIELDword=ww (2002)
[protect] on NT? (1997)
Re:What file? (1997)
FINAL: STILL not starting on bootup (2002)
Error & Problem (1997)
[if] and [showif] - A solution (2002)
form data submission gets truncated (1997)
WC1.6 to WC2 date formatting -FIXED! (1997)
Multiple fields on 1 input (1997)
Add more fields to an existent data base (1997)
E-Mailer (WebCatb15acgiMac) (1997)
Merging databases (1997)
WebCommerce: Folder organization ? (1997)