In an xpage get a picture from a database where I don't have access to (acl) -
is there way web user of xpages based webpage able show (read mode only) document in database annonymous doesn't has acces in acl. if had access the document example : https://servername/otherdatabase.nsf/o/"+thisid+"/$file/"+thisdocument
i guess must possible sessionassigner , how ?
secondly there way user see view database anonymous doesn't has acces ? how can set ?
essentially impossible.
you construct url using sessionassigner when user tries access document / image unauthorized exception.
the way display view of data read contents of view scoped variable (or bean) using sessionassigner , display repeat control references data scoped variable instead of view directly.
the larger question why want this. if anonymous can't have access database in question there's reason this. alternative think using $publicaccess flags on documents / views want give anonymous access to. on acl, long anonymous can read public data can still have no access database.
matt
Comments
Post a Comment