Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Just Found 'db_referers' in Config!

Quote Reply
Just Found 'db_referers' in Config!
Hi:

Been thinking about security recently, and thought I would toughen things up on my site. So I wrote a quick little $ENV(HTTP_REFERER} check as a subroutine, and add a call to it where needed, anytime a user has input (Like reviews, bad link reports, etc.).

As I added it to add.cgi, I noticed a GT version of this same subroutine, with a call to 'db_referers' in config. Cool!

OK, here is my question... HOW do I put the OK referers in there.... like this:

"www.bcdb.com" , "www.cartoondb.com" , "www.cartoon-db.com"

or like this:

www.bcdb.com, www.cartoondb.com, www.cartoon-db.com


(This ALWAYS confuses me. )

Thanks!

dave

Subject Author Views Date
Thread Just Found 'db_referers' in Config! carfac 1960 Aug 6, 2001, 10:04 PM
Thread Re: Just Found 'db_referers' in Config!
carfac 1922 Aug 6, 2001, 10:07 PM
Thread Re: Just Found 'db_referers' in Config!
Alex 1895 Aug 7, 2001, 9:32 AM
Thread Re: Just Found 'db_referers' in Config!
carfac 1881 Aug 7, 2001, 9:36 AM
Post Re: Just Found 'db_referers' in Config!
carfac 1882 Aug 7, 2001, 1:09 PM
Post Re: Just Found 'db_referers' in Config!
Alex 1909 Aug 7, 2001, 9:29 AM