How can I prevent the pictures being seen without log on?
|
afu
Joined: 2008-11-03
Posts: 4 |
Posted: Wed, 2009-03-25 18:30
|
|
First of all, all the pictures on the server are permissioned to be seen by registered user only. There is no permission granted to 'everybody'. The following is what I found: First I log on, go into an album, view a picture. At this moment, the address bar shows an url address of the picture: http://server.com/gallery2/main.php?g2_itemId=1234. But if you right click on the picture and select 'properties', you will get a different url address: http://server.com/gallery2/main.php?g2_view=core.DownloadItem@g2_itemId=1234&g2_serialNumber=1 Now I log off. Type the first address into the address bar of my browser, as expected, it brings me to the log on page of gallery2. So far, so good. But if I type the second address (the one copied from properties), surprise! The picture is right in front of me!!! Is it a security problem? How can I prevent the pictures being seen without log on? Thank you very much the help.
|
|

Posts: 4338
have you cleared your browser cache?
Posts: 16503
And have you tried a different browser or different computer?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
Oops, my bad. Completely forgot about cache.
After I clear the cache, then type in the second address, I got an security violation message, which make sense.
Thank you very much.