Author Topic: Protecting Images an files from direct access  (Read 2732 times)

0 Members and 1 Guest are viewing this topic.

Offline tohave

  • Newbie
  • *
  • Posts: 13
    • View Profile
Protecting Images an files from direct access
« on: March 28, 2006, 03:42:24 AM »
Hi

I have protected some categories and allowed users can have access to the images and all the rest.
The problem is that when you once enter the protected directory, you are able to see it by just having the URL, without being signed in!! so there is problem in protecting stuff from ordinary users (if they find the URL)

I was wondering if there is any thing that can solve the problem?
 
by having in mind;

1- The categories must be writable (executable) by selected users: cmd 777
2- files are writable (executable) by selected users: cmd 777
3- directory is writable (executable) by selected users: cmd 777

so, if I change the : cmd 777 to something else it does not fuction properyi. Thumbnils do not show or images are not accessable! or eben the categories are not available.

Please help me to solve this problem. Thanks

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: Protecting Images an files from direct access
« Reply #1 on: March 28, 2006, 03:54:36 AM »
Try find a topic "pic security", you might find its interesting ;)
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)