Technical support This forum is closed.
Version 1.x > Technical support > Question About CMSViewer Caching View modes: 
User avatar
Member
Member
wtijsma - 5/12/2005 4:07:16 PM
   
Question About CMSViewer Caching
Hi Petr,

I haven't tested it yet so I'm not sure of this, but shouldn't the caching mechanism include the CheckPermissionForUserID parameter when generating the cache key, to prevent anonymous users being able to view content only available to signed in users (or something similar )?

useCacheItemName = this.Context.Request.Url.ToString() + "|" + this.ID;

to

useCacheItemName = this.Context.Request.Url.ToString() + "|" + this.ID + "|" + CheckPermissionsForUserID;

Wiebe

User avatar
Guest
admin - 5/12/2005 6:50:17 PM
   
Re: Question About CMSViewer Caching
Hi Wiebe,

Thank you for your message. We will check it and if we find any issue we will fix it.

Best Regards,

User avatar
Guest
admin - 5/14/2005 11:18:49 AM
   
Re: Question About CMSViewer Caching
Hi Wiebe,

thank you for this suggestion. You were right, this could cause problems in some cases. We have modified the code as you suggested.

Thank you.

Best Regards,