Re: denying access to a banned username

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46499
interpreted = N
texte = Just do something like[hideif [lookup db=members.db&value=[user]&lookinfield=user&returnfield=banned]=T] [authenticate e-info Access] [/hideif]> I would like to tell them they are banned or suspended when they get > to this Welcome page. I need to prevent them from posting if they > are banned or suspended, but I do want to tell them they are . . . > Thats my problem.This statement is contradictory...??? --Will Starck NovaDerm Skincare Science http://www.novaderm.com wjs@novaderm.com On Thursday, December 26, 2002, at 02:30 PM, Lester Emo wrote:> I need to deny access to a user if they have been banned or > suspended from using a message board. I have a field in my members > database that shows wheter they are OK Banned or Suspended > > I use webcat and browser-based authentication for access to the site > and accessto postings etc. > > This is my MemberChecker file used when accessing the site: > > [!] check for user in members.db [/!] > [showif NotFound=[lookup > db=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/ > uppercase]&returnField=user¬Found=NotFound]] > [authenticate e-Info Access] > [/showif] > > [!] Check password of user in members.db [/!] > [showif > [url][encrypt][uppercase][password][/uppercase][/encrypt][/ > url]![url][lookup > db=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/ > uppercase]&returnField=pass¬Found=NotFound][/url]] > [authenticate e-Info Access] > [/showif] > > After authentication they are passed to a Welcome [user] page. > > All works well . . . . > > I would like to tell them they are banned or suspended when they get > to this Welcome page. I need to prevent them from posting if they > are banned or suspended, but I do want to tell them they are . . . > Thats my problem. > > When I authenticate them they are able to use all the features > regardless of being banned or suspended > > Any ideas how I can achieve this using webcat and browser based > authentication and my MemberChecker file like I now have?------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: denying access to a banned username (Lester Emo 2002)
  2. Re: denying access to a banned username (Gary Krockover 2002)
  3. Re: denying access to a banned username (Brian Boegershausen 2002)
  4. Re: denying access to a banned username (WJ Starck 2002)
  5. denying access to a banned username (Lester Emo 2002)
Just do something like[hideif [lookup db=members.db&value=[user]&lookinfield=user&returnfield=banned]=T] [authenticate e-info Access] [/hideif]> I would like to tell them they are banned or suspended when they get > to this Welcome page. I need to prevent them from posting if they > are banned or suspended, but I do want to tell them they are . . . > Thats my problem.This statement is contradictory...??? --Will Starck NovaDerm Skincare Science http://www.novaderm.com wjs@novaderm.com On Thursday, December 26, 2002, at 02:30 PM, Lester Emo wrote:> I need to deny access to a user if they have been banned or > suspended from using a message board. I have a field in my members > database that shows wheter they are OK Banned or Suspended > > I use webcat and browser-based authentication for access to the site > and accessto postings etc. > > This is my MemberChecker file used when accessing the site: > > [!] check for user in members.db [/!] > [showif NotFound=[lookup > db=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/ > uppercase]&returnField=user¬Found=NotFound]] > [authenticate e-Info Access] > [/showif] > > [!] Check password of user in members.db [/!] > [showif > [url][encrypt][uppercase][password][/uppercase][/encrypt][/ > url]![url][lookup > db=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/ > uppercase]&returnField=pass¬Found=NotFound][/url]] > [authenticate e-Info Access] > [/showif] > > After authentication they are passed to a Welcome [user] page. > > All works well . . . . > > I would like to tell them they are banned or suspended when they get > to this Welcome page. I need to prevent them from posting if they > are banned or suspended, but I do want to tell them they are . . . > Thats my problem. > > When I authenticate them they are able to use all the features > regardless of being banned or suspended > > Any ideas how I can achieve this using webcat and browser based > authentication and my MemberChecker file like I now have?------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ WJ Starck

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:

Checking for blank form fields (sort of...) (1998) PR: WebCatalog Affiliates Program Announced -- Share the (2000) ACGI processing for .html (1997) Hiding Brands (2004) Re:Copyright ? (1997) This message couldn't reach the list! (1998) View order not right (1997) Setting up shop (1997) Public beta 2 for WebCatalog 4.0 is now available. (2000) Directory Overload (1998) Re:FYI: Error message (1996) Changes to the List (1997) The Form authentication trick (2000) WebCat NT v. Mac (1997) Custom Shipping Charges (1997) Where is f2? (1997) Forms Search Questions (1997) multiple search commands (1997) Search (1997) WebCatalog Hosting (1996)