 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
July 18th, 2004, 09:24 AM
|
#1 (permalink)
| | Registered User
Join Date: Jun 2003
Posts: 56
| Security Issues
I've only just installed 4.8 so bear with me if these have been addressed. I have a number of password protected albums, however pictures in these albums are being displayed in the random images even when a user doesn't have rights to the album.
How do you stop this happening? I mean it seems pretty fundamental to me that if a user doesn't have a password for an album, they shouldn't see any of these photos and you shouldn't really have to do anything to stop it - it should be default - or am I missing something?
|
| |
July 18th, 2004, 10:10 AM
|
#2 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
Can you provide a link to demonstrate this?
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 18th, 2004, 10:40 AM
|
#3 (permalink)
| | Registered User
Join Date: Jun 2003
Posts: 56
|
The website is an internal intranet, so unfortunately I can't. I'm happy to send you any files though if that helps.
|
| |
July 18th, 2004, 11:00 AM
|
#4 (permalink)
| | Registered User
Join Date: Jun 2003
Posts: 56
|
In fact, it appears as though images in password protected forums which the users don't have access to are showing everywhere, i.e. Random Images, Most Popular Images etc. even though when the person goes to the member gallery containnig the images, he gets prompted for the password to enter.
By the way, they don't just see the thumbnail either, they can click on the image and see the larger version. Once they're there, they can browse all the images in that locked forum.
However I'm also getting strange results with the test user I've created. He can login to vB3 no problems. I think go to the gallery and everything shows up as expected (including the images that shouldn't), but now when I click on anything it comes up with a message saying you must be a registered user to view images.
This doesn't happen for my account (admin).
|
| |
July 18th, 2004, 11:06 AM
|
#5 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
I cannot replicate your album problem and you also may have "require users to registered to view images" set to ON. Admin users can see any albums, even private (which means the images would appear in the featured photos as they do have permission).
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 19th, 2004, 08:53 AM
|
#6 (permalink)
| | Registered User
Join Date: Jun 2003
Posts: 56
|
I've checked the usergroup permissions and they're definitely set correctly.
|
| |
July 19th, 2004, 09:14 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
I can not replicate this either. I mark a personal album private as in password protected. I upload a picture and it does not appear in random and recent. I have permission to view it if I go to my album of course but it does not display on the most recent which if I could replicate your problem it would.
Check your usergroup permissions
Check your category permissions
Double check your personal albums are private password protected
|
| |
July 19th, 2004, 03:09 PM
|
#8 (permalink)
| | Registered User
Join Date: Jun 2003
Posts: 56
|
OK, I've made some progress here into what might be going on:
[list=1][*]It appears as though the problem relates to the fact that although I logged in as a 'test' user, photopost is still using my admin account named 'Intex'. To get an idea of what I'm saying, take a look at the first screenshot attached. You can see from the picture that I'm logged on to vB as 'Test', yet when I select the 'Profile' link in PP, it shows the profile for 'Intex'. Seems to me that it must be picking this information up from someone, even though I've cleared the cookies when logging out as 'Intex' and logging back in as 'Test'.
This must be the case because you can also see that the photopost ADMIN link is on there and this person is not in the admin group.
This also explains why I could see private forums, i.e. I was actually logged on as an admin.
[*]If I use a completely different PC and login as 'Test' it shows the gallery as normal, but the user doesn't have a profile link. Although all of the thumbnails are shown, when you click on any of them you just get a message saying you must be a registered user to view images.[/ilst]
So, I think this is all related and something to do with cookies? Note: I always go into the vB forum first when logging in and then go to the gallery. As also explained above, I always clear the cookies too. The category and usergroup permissions are set correctly.
|
| |
July 19th, 2004, 03:19 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
well that leads to a cookie issue difference between the two products
If you have a cookie on your computer when logging to photopost yet you logged into the forum with test you would see this kind of issue.
Check your cookie settings between both products
I suggest VB set to
cookie path /
cookie domain .domain.com
Photopost set to
cookie path /
cookie domain .domain.com
cookie prefix bb vb license --- this must be entered in the photopost config for cookies to mesh
|
| |
July 19th, 2004, 03:56 PM
|
#10 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
<rainman> Definately a cookie configuration issue. yep, definately a cookie configuration issue... </rainman>
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 19th, 2004, 04:16 PM
|
#11 (permalink)
| | Registered User
Join Date: Jun 2003
Posts: 56
|
OK, I changed my settings:
The vB cookie path was already set to / but the cookie domain was blank. I've changed this to be the domain name, i.e. test.example.com.
I've then changed the PP config settings. The forum cookie prefix was blank and I changed this to bb. My vB license info was already defined. The cookie path was already / and I changed the cookie domain from being blank to test.example.com.
This certainly cures the problem with being logged onto vB with one user and it actually being logged in as another within photopost, however now when the test user logs on, it still says he's unregistered (see attachment).
|
| |
July 19th, 2004, 04:33 PM
|
#12 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
I fyou read the vB3 integration FAQ stuck at the top, you might find that you should use different cookie settings.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 19th, 2004, 06:12 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
.example.com might be better.
|
| |
July 20th, 2004, 01:29 PM
|
#14 (permalink)
| | Registered User
Join Date: Jun 2003
Posts: 56
|
Michael_P - I'd ready this information from the outset and these were my original settings. These did not work.
Omegatron - I tried changing it as shown for my domain and it made no difference, the user is still unregistered and I've tried this with the same result from different PC's.
I really don't understand what's going on. Perhaps I need to give you more information. My directory hiearchy is as follows: Code: Content visible to verified customers only.
My domain name is subdomain.domain.biz Photopost Settings
CONFIG.INC settings contains:
Forum Cookie Prefix: BB {should this be BB or should something be replacing this?}
Cookie Path: /
Cookie Domain: {blank} vB Settings
Path to Save Cookies: /
Cookie Domain: {blank}
|
| |
July 20th, 2004, 01:30 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
Perhaps its best to just PM me a url and an admin login to your forum
|
| |
July 20th, 2004, 01:38 PM
|
#16 (permalink)
| | Registered User
Join Date: Jun 2003
Posts: 56
|
OK, I've PM'd you the info.
|
| |
July 20th, 2004, 01:43 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
Okay I am logged in fine when I view the gallery.
Photopost works with cookies. VB uses sessions or cookies. You need to select the remember me button when logging in so a cookie is created.
|
| |
July 20th, 2004, 01:46 PM
|
#18 (permalink)
| | Registered User
Join Date: Jun 2003
Posts: 56
|
LOL, well that will teach me for messing around with the code. I changed the default behaviour of the 'Remember Me' check box recently because it's a bit of a security breach, i.e. it's automatically ticked by default and people forget to logout.
I guess it didn't matter before as I wasn't using the gallery and had no effect with anything else.
Thx. for your help Omegatron  .
Last edited by Intex; July 20th, 2004 at 01:49 PM.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 11:14 AM. | |