Thanks everyone for your input!
Here's a bit more info which surely will effect the final solution I put together from all your awesome help and advice!
Site A (the referring site) I have no access to write code for... the only thing they will do for us is adjust the link. I was going to have them tag on an encrypted timestamp, and on Site B, have it validate and allow that timestamp for a period of 5 minutes or so. Exactly like jhourcle suggested - seems the best idea (if not only possible one!)
Once the user successfully gets to Site B - they have to login to access sensitive areas, so I dont need the most secure method available. In fact, if they were not linking to us from a secure server, using the http referer would have been enough to work.
The last bit of info... someone mentioned creating a database of valid links we'd allow - trouble with this is we dont even want someone bookmarking the entrance pages.
How about some sort of Apache or httaccess rules? IP filtering maybe? Is there another method to grab some sort of referrer or IP other than environment variable?
thanks
chris
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.