Re: member pages

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27209
interpreted = N
texte = On 2/8/00 9:10 AM, Nitai wrote:>Hi all, > >I need to protect the admin section for a shop. (Not the WebCatalog pref >pages). These are templates I wrote for the customers. > >1. What is the best way to protect these pages, so that only the admin >(stored in a admins.db file with username and password fields) can use these >pages? > >2. How can I prevent someone who knows the URL to still enter these pages?I create my own routine to lookup info from the admin.db file. I simplified it here, but this is the general routine.I would encrypt your admin templates so that no one can see how you wrote it and therefore develop a workaround.[showif [lookup]=notfound] [authenticate user] [/showif]Include it on all your files I would also do some sort of checking to read data from the admin.db to ensure that it is your admin.db and not some duplicate. This way if someone substitutes another admin.db file other than yours then your templates stop working.[showif [lookup mydata]!code] [authenticate user] [/showif]Log your admin access and set a timeout so that if they do not logout they have to log back in. [showif [lookup date&time]<[date][time]] [authenticate user] [/showif]This should do it. Robert Minor___________________________________________________________________________CyberMill Communications voice 314-962-4024 8616 Joseph Ave http://www.cybermill.com/ St. Louis, MO 63144 email: webmaster@cybermill.com ___________________________________________________________________________Purveyors of fine Websites and Webhosting services.------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: member pages (Bob Minor 2000)
  2. Re: member pages (jpeacock@univpress.com 2000)
  3. member pages (Nitai 2000)
On 2/8/00 9:10 AM, Nitai wrote:>Hi all, > >I need to protect the admin section for a shop. (Not the WebCatalog pref >pages). These are templates I wrote for the customers. > >1. What is the best way to protect these pages, so that only the admin >(stored in a admins.db file with username and password fields) can use these >pages? > >2. How can I prevent someone who knows the URL to still enter these pages?I create my own routine to lookup info from the admin.db file. I simplified it here, but this is the general routine.I would encrypt your admin templates so that no one can see how you wrote it and therefore develop a workaround.[showif [lookup]=notfound] [authenticate user] [/showif]Include it on all your files I would also do some sort of checking to read data from the admin.db to ensure that it is your admin.db and not some duplicate. This way if someone substitutes another admin.db file other than yours then your templates stop working.[showif [lookup mydata]!code] [authenticate user] [/showif]Log your admin access and set a timeout so that if they do not logout they have to log back in. [showif [lookup date&time]<[date][time]] [authenticate user] [/showif]This should do it. Robert Minor___________________________________________________________________________CyberMill Communications voice 314-962-4024 8616 Joseph Ave http://www.cybermill.com/ St. Louis, MO 63144 email: webmaster@cybermill.com ___________________________________________________________________________Purveyors of fine Websites and Webhosting services.------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Bob Minor

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:

[subtotal] and others (1997) virtual virtual hosted store.... (1998) still facing truncated [texta] problem (2000) billing system (2003) calculating tax rates, mail order solutions and version 2 (1997) Forumulas.db & Variables (2002) Still having math problems (1997) Validating a date (2000) New user...how do I create URLs from form fields? (2000) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) database confused (2000) modified storedbuilder (was: show me your store) (2003) Possible Bug in 2.0b15.acgi (1997) WebCat hosting providers? (1997) WYSIWYG Entry of text fields (2001) Emailer help....! (1997) many-to-one problem (1998) Search in 2 or more catalogs (1997) Unexpected error (1997) emailer (1997)