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:
[WebDNA] Version 7.x: webdna.ini and EmailerPrefs (2012)
Table Loop Hoops (2000)
Re:quit command on NT (1997)
Emailer port change (1997)
[shownext max=?] armed (1997)
Setting up WebCatalog with Retail Pro data (1996)
embedded showif statements (2000)
Protect (1997)
Sku numbers (1997)
[WebDNA] Yikes, upgraded to OS Mavericks and now WebDNA not running (2013)
TCPCONNECT (2004)
creative use of webcatalog (1998)
security (1997)
show all problem (1997)
Stinkin' [Referrer] (1998)
Cookies (1999)
adding shipping cost (1998)
Cart questions (1997)
A question on sub-categories (1997)
WebCat2 - storing unformatted date data? (1997)