I'm developing a xpage application using an anonymous form for yet unknown (not authenticated) users. The database ACL is set to not give anonymous users access to the content (e.g. views and documents). In general no public access is allowed. However, is there a way to make field type ahead work for input fields using content from the database views without opening them for the public?
Asked
Active
Viewed 246 times
1 Answers
3
You can use sessionAsSigner-object in SSJS to access your data with a different access level.

Sven Hasselbach
- 10,455
- 1
- 18
- 26
-
That really points to right direction. Thanks Sven for the quick response! Will give it a try and will report back here. – Uwe Brahm Jun 21 '12 at 00:01
-
1Mastering XPages, Chapter 17, page 704 has all the details on sessionAsSigner and sessionAsSignerWithFullAccess. Additionally there is a very good article: "[link](http://www.timtripcony.com/blog.nsf/d6plinks/TTRY-86M5CA) Rolling your own authentication for REST API's, part 3 - Anonymity is a warm blanket" explaining the usage in great detail. – Uwe Brahm Jun 25 '12 at 14:07