PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 10th, 2005, 10:07 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 50
Limit access to the full size image

I'd like to have a way to limit access to the full size image by usertype.

Basicly I'd like to prevent standard users from accessing the original file (which is often quite large.)
MonsterMaxx is offline   Reply With Quote
Old February 10th, 2005, 10:15 AM   #2 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Limit access to the full size image

Usergroup Permissions - "Can View Large Images"

Though, that only allows them to see thumbnails. Maybe a suggestion for a new permission for "Can View Original Image"?
ConqSoft is offline   Reply With Quote
Old February 12th, 2005, 10:40 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 50
Re: Limit access to the full size image

Yes, Please!
MonsterMaxx is offline   Reply With Quote
Old February 12th, 2005, 11:00 AM   #4 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Limit access to the full size image

Should be easy enough for Brian to throw in there, and could be a useful feature.
ConqSoft is offline   Reply With Quote
Old February 14th, 2005, 10:58 AM   #5 (permalink)
Brian
Guest
 
Posts: n/a
Re: Limit access to the full size image

/forum/includes/init.php - Look for:
Code:
Content visible to verified customers only.
Replace with:
Code:
Content visible to verified customers only.
/forum/includes/adminfunctions_gallery.php - Look for:
Code:
Content visible to verified customers only.
Add below:
Code:
Content visible to verified customers only.
/gallery/showimage.php - Look for:
Code:
Content visible to verified customers only.
Add below:
Code:
Content visible to verified customers only.
Upload the files and then go change the permissions for your usergroups.
  Reply With Quote
Old February 14th, 2005, 11:01 AM   #6 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Limit access to the full size image

Will this be included in the next release?
ConqSoft is offline   Reply With Quote
Old February 14th, 2005, 12:00 PM   #7 (permalink)
Member
 
Join Date: Jan 2004
Posts: 457
Re: Limit access to the full size image

Just an FYI.

This change works as long as Open Original in New Window is set to "No". If it's set to "Yes" the the image still opens in the new browser window.
Tom M is offline   Reply With Quote
Old February 14th, 2005, 12:01 PM   #8 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Limit access to the full size image

Ah... Yes. It would need to check the permission, and not make the image into a link at all if you don't have access.
ConqSoft is offline   Reply With Quote
Old February 14th, 2005, 12:03 PM   #9 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Limit access to the full size image

But, you know, for example, if you give a user access to view thumbnails, and nothing else, they could still directly view the medium or full size images easily, by changing the url and modifying the filename. No way to limit them completely without having all your images outside the web root and have the Gallery feed them to the browser using PHP code. (major CPU hit on the server)
ConqSoft is offline   Reply With Quote
Old February 14th, 2005, 12:19 PM   #10 (permalink)
Member
 
Join Date: Jan 2004
Posts: 457
Re: Limit access to the full size image

True. However the intent of the modification is to block the "normal" user that's not supposed to have access. Given that, it would seem that this modification just needs to be tweaked as bit.

The reality is that if you want to block general access by a determined individual the images should be stored outside the root folder so that only the application can have access to them.
Tom M is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
5.12 - Rebuild medium creates full size image(NOT A BUG) Zenith Photopost Pro Bug Reports 3 July 6th, 2005 08:01 AM
Image file size limit artsculture Photopost Pro How Do I...? 2 May 29th, 2005 08:52 PM
How to make image show full size SoCalrailFan Photopost Pro How Do I...? 8 April 11th, 2005 10:20 PM


All times are GMT -5. The time now is 03:44 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0