Author Topic: Pic Security  (Read 39433 times)

0 Members and 1 Guest are viewing this topic.

Offline jengwen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.jenrichardsphotography.com
Pic Security
« Reply #30 on: March 15, 2003, 02:57:00 AM »
Do I put this in my details.html?

Quote
<table CELLSPACING=0 CELLPADDING=0 COLS=1 WIDTH="100" HEIGHT="100">
<tr><td BACKGROUND="ihrbild.gif">
<img SRC="transparent.gif" height=100 width=100>
</td></tr></table>


Also, where does view_image.php get called from?

Could anyone claify the instructions for installingr the scripts a little more?

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Pic Security
« Reply #31 on: March 15, 2003, 03:25:34 AM »
Almost.  You put this in your MEDIA template, not details.html

So if you are displaying a jpg file, this goes in templates/default/media/jpg.html
Code: [Select]
<table width="{width}" height="{height}" border="0" cellspacing="0" cellpadding="0" background="{media_src}">
<tr>
<td width="100%"><img src="{template_url}/images/spacer.gif" width="{width}" height="{height}" /></td>
</tr>
</table>


view_image.php is just a theoretical discussion at this point.  I don't know that anyone has written it yet.

Offline IsaGaming

  • Pre-Newbie
  • Posts: 4
    • View Profile
    • http://www.isagaming.com
What code ??
« Reply #32 on: April 06, 2003, 05:50:37 PM »
What code is for that i want:

Check if browser have jaascript if disabled then they will see the image on ( screenshot one ) as blank.gif ( with test on it will say please "enable javascript to enable to see the screenshot") if enabled they will see normaly the screenshots. and disable capture funtion from keyboard or any program,,,
and hotlinking.. if they click on view/source on toolbar on IE or else they will see the link wish have that hidden the link

If there a code please post full code of thoses and in what file where etc pls i am new a little about javascript..
i am good on html and a little to php i started to understand a little on php coding... not javascript i am novice on it :)

( sorry my english i am still learning and i used french :) )

Hope to get a code for my site :)
Thanks!
IsaGaming.com

Offline Jabo

  • Newbie
  • *
  • Posts: 10
    • View Profile
Pic Security
« Reply #33 on: April 11, 2003, 07:54:11 PM »
Hi,

I am very much interested in this security implementation, but I dont know much programming. Can someone please post me the full html code of an HTML file (ie. jpg.html) so I can see how the mods is implemented exactly.

Also, I saw on the first page, a very long PHP code of view_image.php -  do I just make that into a PHP file and upload it?

thanks in advance

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: Pic Security
« Reply #34 on: April 23, 2005, 01:26:35 PM »
Ich suche keinen Kopierschutz, sondern einen Löschschutz, der verhindert, das Bilder versehentlich vom Admin gelöscht werden.

Stell mir das so vor:
Standardeinstellung, wie gehabt.
Sicherheitseinstellung, kann für jeden Upload im ACP erstellt werden, die ID eines Uploads wird in eine extra Tabelle in die Datenbank o.ä. eingetragen, diese Uploads können nicht gelöscht werden, es ist also keine Grundeinstellung, sondern eine zusätzliche Funktion in "Bilder bearbeiten".
Bei einem Löschversuch, erscheint folgende Meldung:
"Upload befindet sich im Schutzbereich, tragen sie die ID aus, um den Upload zu löschen."

Das ganze wird nur über das ACP gesteuert, der User hat keine Möglichkeit, den Schutz zu beeinflussen. Falls er versucht, seinen geschützen Upload zu löschen, erscheint die Meldung:
"Upload befindet sich im Schutzbereich, wenden Sie sich an den Administrator, um den Upload zu löschen".

Wäre das machbar?

Gruß
michi-w.

P.S. falls sich jemand findet, der Englisch kann, habe ich nichts gegen eine Übersetzung meiner Frage! :wink:

Offline Chicco

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • The Picture World
Re: Pic Security
« Reply #35 on: March 03, 2006, 02:35:24 PM »
Also bei mir bringt das mit der .htaccess datei absolut nichts.

Beispiel:
Es liegt in meinem DATA/MEDIA-Ordner in der Kategorie 20 ein Bild drin und ich kenne diesen Namen vom Bild durch meinen Quelltext anhands des Thumbnails, dann ist es möglich dieses Bild direkt im browser aufzurufen per www.MEINESEITE.DE/DATA/MEDIA/20/test.jpg.

Sowas dürfte aber nicht sein! Und wnen ich nun eine leere .htaccess-datei in das verzeichnis 20 lege, kann man trotzdem das Bild laden!

Ich habe z.b. eine Kategorie, auf die nur Registrierte User Zugriff haben und Gäste die Thumbnails nur verschwommen ansehen. Schaut nu ein Gast sich mal den Quelltext an und sieht wie so manches Thumbnails heisst, kann es über den Browser direkt auf dieses Bild zugreifen im data/media/-Verzeichnis. Versteht ihr wie ich es meine????


Wissen ist MACHT! Nix zu wissen macht aber auch nix! ;-)

Gruß
Ch¿cco

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: Pic Security
« Reply #36 on: March 03, 2006, 06:17:15 PM »
htaccess bringt nur was, wenn alles richtig eingetragen ist in der Datei,
und der Server auch ModRewrite unterstützt.

Ansonsten kannst du ja einfach den MEDIA Ordner umbennen,
und entsprechend das in der constants.php ändern.

Wenn du entsprechende Mods von der ersten Seite drin hast,
ist es schwierig den Download Ordner rauszufinden.
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Pic Security
« Reply #37 on: March 04, 2006, 12:47:15 AM »
omg...I thought this topic was lost, that why a new topic with references to reply from this topic was created...
Should I lock up this topic with link to the new one, cause there we have more recent discussions...? cause it might bring a confusion....
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)