[Xitami] directory listing location bar

Ron Ackerman xitami@lists.xitami.org
Sun, 6 Jun 2004 12:02:13 -0400


As I see it, there is no way to protect images from getting captured. If you
have a nice image, it can be plagiarized. So here is the way I would do it
and this by no means is perfect either.

Thumbnails are usually not very good quality, and to make them even less
quality you can save them as low as 35% and they can still be of good enough
quality to see. Now the issue is when they click that thumbnail what do they
see? If I wanted to protect my images but yet make them accessible then I
would require a registration and maybe a small fee to see a quality image,
upon registration I would make sure they they read or at least agree with a
disclaimer that they will not plagiarize the images and the fact that they
registered and paid a fee will usually mean I at least know where they live
and maybe their phone number. That gives you a legal foot to stand on. For
those who choose to remain anonymous they would maybe see an image with some
markings or watermark ("Copyright Material" would be good). Something that
they could not use without destroying the original. Only registered users
would be able to view the image without the copyright. However I still would
embed it in image in case it was downloaded. The one thing about just
breaking up the image or changing the file name is, once it is displayed, it
can be plagiarized with a program like Paint Shop Pro. (Screen Area Capture)
And just doing the simple, disable right click, will stop a lot of people.
And to protect a directory, put in a index.html.

The internet opens up a whole new can of copyright worms and plagiarization
of material is rampant. Laws in one country don't protect you in other
countries. So the best course of action is on the server end.

Ron

-----Original Message-----
From: xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org]On Behalf Of Michael diLorenzo
Sent: Saturday, June 05, 2004 7:44 PM
To: xitami@lists.xitami.org
Subject: Re: [Xitami] directory listing locationbar


Being the php guy that I am, may I suggest that you write a php script
that takes the gif that you want to display, copies it to someting else
(temp.gif, perhaps), displays that, and then deletes the copy.  Since php
is compiled before the page is delivered, all you see for source code is a
reference to temp.gif, which won't exist by the time the visitor tries to
find it.  You won't see any php script in the final web output, and so the
visitor won't know the real name of the picture he's looking at.

It sounds from your question that you might also be wondering about how to
supress directory listings in Xitami itself.  That is a setting in
xitami.cfg.  Set dirlist equal to zero, and directory listings won't be
displayed for any directory.  Or, put an index.html file in your pictures
directory containing a blank page.

On Sat, 05 Jun 2004 15:50:01 -0600, Johannes Prost <xitami@pastryworld.ca>
wrote:

> Hello Marc,
> If I understand this correct, see more below
>
> Am 5 Jun 2004 um 21:11 hat Marc Doigny geschrieben:
>
>> >Xitami 2.5b6
>>
>>
>> There are no stupid questions.
>> For a web server each request (main page, first gif, first jpg, first
>> javascript source, second gif, ... and so on) is a completely new one.
>> The
>> browser has no memory of what was loaded before (except if it looks in
>> the
>> logs).
>>
>> To prevent the usage of your gif, you must create it on-the-fly (using a
>> script, for instance).
>> You also need some server scripts.
>> This is just one example, they are probably more possibilities:
>>
>> <html>
>> <script src=cgi-bin/create.js></script>
>> <script>
>> function makegif(a)
>> {
>> document.write("<img src=' + a + b + '.gif'>");
>> }
>> </script>
>> <body>
>> <h1>This is my protected gif:</h1>
>> <script>
>> makegif("photos/special");
>> makegif("photos/second");
>> </script></body></html>
>>
>> The function "makegif" in your html will create the call to the gif
>> on-the-fly, using the parameter that's provided by create.js
>>
>> Now the special thing resides in create.js.
>> It's a script that produces a single output line (using a random
>> generator)
>>
>> var b = 124582134;
>>
>> and renames the image to
>> photos/special124582134.gif and the same with the second gif.
>>
> because of this randomly chosen "extended" file name the viewer actually
> isn't able to call the
> file directly.
>
>> For more help (and maybe an easier way to do it), you could ask it on
>> the
>> webreference forum:
>> http://www.webdeveloper.com/forum/
>>
> will do that.
>
>
>> marc
>>
>>
> Johannes
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 6/2/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 6/2/2004