I set up my database with No Access for Anonymous user but read public documents.
This works well with pages and forms.
I tried a while to get the XPage to work for the Anonymous user by changing the ACL Properties of the XPage but a login is always needed to see the XPage.
<xp:this.acl>
<xp:acl>
<xp:this.entries>
<xp:aclEntry right="READER" type="ANONYMOUS" fullName="Anonymous">
</xp:aclEntry>
</xp:this.entries>
</xp:acl>
</xp:this.acl>
This page should be visible to anonymous users...
</xp:view>
I tried a lot with different settings but I didn’t got it to work for anonymous users…