Re: [WebDNA] Internal [ipaddress] ?

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102304
interpreted = N
texte = Dan I do something similar with one of my jobs. If the visitor is not within the internal IP range I filk them out, however in your case you could redirect them to a login page. At the top of each page: [Include file=include/security.inc] This is the security.inc file (I have xxx some of the ip addresses) ============================= [ListWords Words=[!] [/!]203.018.xxx,[!] [/!]203.039.xxx,[!] [/!]089.000.xxx.xxx,[!] [/!]089.000.xxx.xxx,[!] [/!]203.018.xxx,[!] [/!]089.000.xxx,[!] [/!]089.000.xxx,[!] [/!]010.215.xxx.xxx,[!] [/!]060.241.xxx.xxx,[!] [/!]010.215.xxx,[!] [/!]&Delimiters=,][ShowIf [ipaddress]^[word]][Text]Security=OK[/Text][/ ShowIf][/ListWords] [HideIf [security]=OK][redirect url=http://xxx.xxx.xxx.xxx/noauthority.html ][/HideIf] ============================= Then you can use the [Security] var as needed in the rest of the page Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 31/03/2009, at 10:46 AM, Dan Strong wrote: > Other WebDNA techniques? > -Dan > > >> [ipaddress] parses to the visitors ip. >> You could use other techniques to find the >> ipaddress of the server. >> Donovan >> -- >> Donovan D. Brooke PH: 1 (608) 770-3822 >> ------------------------------------------------ >> VP >> WebDNA Software Corporation >> 16192 Coastal Highway >> Lewes, DE 19958 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Internal [ipaddress] ? (Stuart Tremain 2009)
  2. Re: [WebDNA] Internal [ipaddress] ? (Patrick McCormick 2009)
  3. Re: [WebDNA] Internal [ipaddress] ? ("Dan Strong" 2009)
  4. Re: [WebDNA] Internal [ipaddress] ? (Rob 2009)
  5. Re: [WebDNA] Internal [ipaddress] ? (Patrick McCormick 2009)
  6. Re: [WebDNA] Internal [ipaddress] ? ("Dan Strong" 2009)
  7. Re: [WebDNA] Internal [ipaddress] ? ("Dan Strong" 2009)
  8. Re: [WebDNA] Internal [ipaddress] ? (Stuart Tremain 2009)
  9. Re: [WebDNA] Internal [ipaddress] ? (Donovan Brooke 2009)
  10. Re: [WebDNA] Internal [ipaddress] ? ("Dan Strong" 2009)
  11. Re: [WebDNA] Internal [ipaddress] ? (Stuart Tremain 2009)
  12. [WebDNA] Internal [ipaddress] ? ("Dan Strong" 2009)
Dan I do something similar with one of my jobs. If the visitor is not within the internal IP range I filk them out, however in your case you could redirect them to a login page. At the top of each page: [Include file=include/security.inc] This is the security.inc file (I have xxx some of the ip addresses) ============================= [ListWords Words=[!] [/!]203.018.xxx,[!] [/!]203.039.xxx,[!] [/!]089.000.xxx.xxx,[!] [/!]089.000.xxx.xxx,[!] [/!]203.018.xxx,[!] [/!]089.000.xxx,[!] [/!]089.000.xxx,[!] [/!]010.215.xxx.xxx,[!] [/!]060.241.xxx.xxx,[!] [/!]010.215.xxx,[!] [/!]&Delimiters=,][ShowIf [ipaddress]^[word]][text]Security=OK[/Text][/ ShowIf][/ListWords] [HideIf [security]=OK][redirect url=http://xxx.xxx.xxx.xxx/noauthority.html ][/HideIf] ============================= Then you can use the [Security] var as needed in the rest of the page Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 31/03/2009, at 10:46 AM, Dan Strong wrote: > Other WebDNA techniques? > -Dan > > >> [ipaddress] parses to the visitors ip. >> You could use other techniques to find the >> ipaddress of the server. >> Donovan >> -- >> Donovan D. Brooke PH: 1 (608) 770-3822 >> ------------------------------------------------ >> VP >> WebDNA Software Corporation >> 16192 Coastal Highway >> Lewes, DE 19958 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Stuart Tremain

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:

Grep and <> (2005) payflowpro problem #3 (2003) RE: Formulas.db + Users.db (1997) Calculating multiple shipping... (1997) free zip codes database (1999) Country & Ship-to address & other fields ? (1997) all records returned. (1997) WebCat editing, SiteGuard & SiteEdit (1997) Superfilous Characters (1998) Dummy Credit Card Number for debug? (1997) Problem: 3.0 doesn't update carts (1997) RE: Adding headers to email (1997) Setting up shop (1997) suffix mapping, use of cache, etc. (1997) [createfolder] & [deletefolder] (1997) Using [Include] Context (1999) WebDelivery (1998) Just Testing (1997) PROBLEM (1997) [Announce]: Web server security and password protection (1997)