Hi,
Before I started playing around too deeply with this, I figured you developers probably already knew the question, so I'll ask.
Let's say a logged in user, or an admin, checks the RSS link, causing it to be generated and cached. It would, presumably, contain links to all items the user/admin had access to. But if a guest user then looks at the RSS link, and gets a cached copy, won't they also see links to content they have no access to?
I see that the RSS cache can be disabled, but if caching is enabled, it seems this could produce undesired results - especially for users whose album folder is in the web path, thus allowing full access to all album images even if they should have no access.
It looks like the sitemap skips any password-protected albums, so that's apparently unaffected by the cache anyhow.
Comments
I don't know how feasible it would be to store a separate cache file with the user ID in the filename, and feed that through instead. OF course, for that to be secure, the cache folder would have to be above the web root, otherwise it would be easy to guess the cached filename for a given user (or admin).
I'll have to ponder it a bit!