> > Unfortunately, this doesn't prevent anyone from
> > intentionally posting data from wherever they want. 
> > It's trivial to build an HTTP POST request and
> > specify whatever Referer header you like. I typically
> > demonstrate this with a netcat or telnet client in 
> > the Fig Leaf security class, "Securing ColdFusion 
> > Servers on Windows". The only thing it would protect 
> > you from is unintentional form posts from undesired 
> > locations, which, of course, isn't really a problem, 
> > I don't think.
>
> I suppose you'd tell me to take your class if I ask
> you what you propose to do to slim the chances of this
> happening. 

Why yes, I'd tell everyone to take the class. "Papa needs a new pair of
shoes!" 

But, in any case, it's not really a matter of slimming the chances of this
happening. It's more a matter of fact that you simply can't control what
data the browser will return - it's all plain text, and the end user,
equipped with the right tools and knowledge (both of which are pretty
simple) can do it without fail.

This is more a limitation of HTTP, than it is anything else, and for the
most part, you simply have to live with it, and write code with this
limitation in mind. Of course, you can use HTTP_REFERER to keep "honest
people honest", but you can't rely on it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to