> This is a very important question in my opinion... and I have > been scrounging the net looking for a solution I can implement. > > I would certainly appreciate someone throwing a light switch > so I can see the solution more clearly. As Dave clearly points > out... we can NOT use the cgi.http.referrer variable. > > Curious, would having application.cfm check a <client.LoggedIn> > or <session.LoggedIn> variable keep users with other tools like > Dave suggested from being successful?
Nope. Those things are simply tied to the two variables CFID and CFTOKEN which are sent by the browser anyway. The core issue is simply that you can't trust any data which comes from the browser. It can all be tampered with, by the user of the browser or potentially by a third party with access to some network segment over which the data passes. You can limit access by these third parties by using SSL, but you can't ever trust the end user himself. So, for example, if you're running a publicly-accessible site, and I can connect to it with a browser, I can fully manipulate all of the data that I send to your server. It's as simple as that. There's nothing you can really do about that, except limit yourself to using data from the browser that, if I were to tamper with, wouldn't make any difference anyway. For example, if you have a shopping cart interface, I could always change information about the item and quantity I select, but that would simply mean I get a different item or quantity. You could potentially track the actual page that you are on, and the last page you were on, and other information, within Session or Client variables, but I'm not sure that this would solve your problem, and might cause more problems than it solves. My approach, generally, is to think of each page as a separate program, and minimize dependencies between pages. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Why Share? Dedicated Win 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=coldfusionc 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

