There are several methods to make requests contextful. Some of the browsers keep
a context using the referer field, but it is not supported by all browsers. More
general methods:
* You can use cookies, give a cookie in your home page with an expiration
date, then check it with a CGI on each new request.
* Using some sort token system, each link is generated online with a kind of
signature (using the client's host) and using a CGI to check that the
signature is valid.
* Another system keeps the whole context server side. When a client refers to
the page, its address is registered and each request for the images is
checked against a database of accessing hosts (again use CGIs). You need
some expiration on the database probably.
To avoid including your encapsulating page in a frame use JavaScript in your
page, find out whether it is included in a frameset, then use document.write()
to invalidate the page if it's included in such frameset, this will only work on
JavaScript enabled browsers.
Hope this helps,
Yuval
Ben-Nes Michael wrote:
> I don't think its possible because its like ordinary request and it cant
> make the difference between the requests because all the request are
> stand alone.
>
> If im wrong ill be happy to know so.
>
> Mike ALmogy wrote:
>
> > Hi list.
> > Does anyone knows how to disallow ppl from linking their sites to my
> > pictures and files ?
> > What i mean is that i have a big site with lots of pictures and files
> > that is build it a frames.
> > What i want is that ppl could not make links from their sites to my
> > something like :
> > <img src="MYSITE">
> > or <a href="MYSITE">BLABLALBA</a>
> >
> > Thanks,
> >
> > Mike
> >
> > --
> > ================================
> > Michael Almogy.
> > System Administrator
> > Mofet Institute.
> > Cel : 972-052-562237
> > Tel : 972-03-6901415
> > Fax : 972-03-6901414
> > ================================
> >
> > =================================================================
> > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
>
> --
> --------------------------
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-6-6925757
> Fax: 972-6-6925858
> http://www.canaan.co.il
> --------------------------
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
--
Yuval El-Hanany | Kawasaki GPZ500 '97 |
[EMAIL PROTECTED] | | Have backpack,
Home : 972-3-5243488 | Debian Linux Inside | will travel
Work : 972-9-9586077-12| |
˛mzwfj)mXު笷b\"a{
+wr{zw/(fu!칻&fXު笷b