Author Topic: Pic Security  (Read 160519 times)

0 Members and 1 Guest are viewing this topic.

Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: Pic Security
« Reply #45 on: November 01, 2005, 10:08:40 AM »
Hello kief,

create a file with the content you see in my signature, load in on your space and give the link to it.

For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Pic Security
« Reply #46 on: November 01, 2005, 10:44:34 AM »
Thx RoadDogg

the link : http://www.edupics.com/phpinfo.php



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 #47 on: November 01, 2005, 02:35:16 PM »
in .htaccess add this line:
Code: [Select]
php_flag session.cache_limiter privateIt worked for me ;)
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)

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Pic Security
« Reply #48 on: November 01, 2005, 08:14:47 PM »
it's getting better all the time...  :D

now i can print and save the picture with right-click.
- after right click i can choose to save the pic as a .jpg, but it saves as a .gif )-


Only problem left is that all pics are called "show".

---------------------------------------------------------------------------------------------------------------------------------------------------------

will Google read the pictures with their correct names with this modification ?
like "floating.jpg" ? or will it read show.gif, or something like "show.php?pic=20648008ac9adc4a74642bab241f59c9" ?

thx



Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Pic Security
« Reply #49 on: November 05, 2005, 02:28:45 PM »
anyone knows how a SE will react on the modifications of V@no ?

I just wanted to share with the public with another way to secure pictures, that I made long time ago and successfuly have been using on my site. It hides location of the pictures and adds antileech as well.

can the SE still read/find the names of the jpg files?

thx

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 #50 on: November 05, 2005, 06:04:34 PM »
"SE" as "Security Enchanced"?
I see no problem with that, as long as your images are located in the category reacheble by your webserver and set proper permissions.
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)

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Pic Security
« Reply #51 on: November 05, 2005, 06:21:38 PM »

can the SE still read/find the names of the jpg files?

thx

SE as "search engine"  :wink: >>> Google Image Search
important to me because i am translating the names of the jpg files from dutch to english so they can be found by english "Google image search".
But if google can't read the names of the jpg files anymore, translation is of no use.

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 #52 on: November 05, 2005, 06:41:20 PM »
correct, I belive SE either will not index your images at all, or even if they do, all you'd be able to see is "image expired".
SE might index details page, but still in the cached version it will show "image expired" - this mod is not SE friendly ;)
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)

Offline gifwav

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • http://www.funpics4u.com
Re: Pic Security
« Reply #53 on: November 07, 2005, 03:33:27 PM »
Hello,

Maybe I'm missing something.
I've installed the "Pic Security" mod of V@no.
But it's not working properly.
In my source code I see:
Code: [Select]
img src="./show.php?pic=0ce09904b55418b7491b4c0fe66162eeI can't see the picture.
I've seen this question before, but I can't find the answer.
What have I done wrong?

I'm using version 1.7.1

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 #54 on: November 08, 2005, 12:18:19 AM »
I belive I've explained somewhere in the replys how to debug this...

1) increase the timeout inf show.php file to, lets say, 10 minute (600 seconds), comment out or remove this line:
Code: [Select]
header ("Content-type: ".$mime); 2) open details page with your picture, then find in the source of that page the url to that image (./show.php?pic=k23jh4k23h4k23j42k3h4)
3) try open that url directly in the browser and see if it shows you any error messages.
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)

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Pic Security
« Reply #55 on: November 22, 2005, 07:36:04 PM »
V@no said -->
Quote
I just wanted to share with the public with another way to secure pictures, that I made long time ago and successfuly have been using on my site. It hides location of the pictures and adds antileech as well.

Hello,

i get the feedback from some people i know that they see the error message...
at the same time i don't see it when i go to the site.

I got this feedback a couple of times last week. Maybe they are in a network that gives problems or something like that, but fact is that i would like to disable the antileech in the modification.

Is there some code i can remove from showpic.php so that this error doesn't show up anymore?

Thx

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 #56 on: November 22, 2005, 11:58:20 PM »
Sorry, not the antileech, it would require completly different code.

But you can try play with the expiration settings:
Code: [Select]
//---- Settings --------
$expire = 35; //seconds
$reduce = 20; //reduce expire time after first call
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)

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Pic Security
« Reply #57 on: November 23, 2005, 12:40:57 PM »
those people i know are not hotlinking...
Do you have any idea what else could cause this "error" problem ?

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 #58 on: November 23, 2005, 02:24:50 PM »
proxy, browser settings
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)

Offline kj_4fire

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Pic Security
« Reply #59 on: December 29, 2005, 02:14:39 AM »
Done with V@no method: It work with images but not for media files such as: mp3, wmv, swf.. You guys have any idea to make these media files works? I meant they work and hide URLs as well  :roll: