This topic is locked

Accessing parts of database without having to log in

7/25/2010 5:39:24 AM
PHPRunner General questions
P
paulsimo author

Hi
I am currently in the early stages of developing a website that will allow users to create and edit their own profile page. To do this they will have to register their details and set up a username and password. I would also like the general public to be able to view a profile page without having to log in to the database or even having to log in as a guest. I want them simply to be able to access a profile page as easy as possible with the minimum number of mouse clicks. First of all is this possible to do using phprunner.
Secondly, I would like to have the ability for the general public to add comments and donations (comments cannot be added without a donation) to a persons profile page, again without having to log in or register an account.
What I would like to know is if this is possible to achieve and what would be the best way of setting up a database to allow this.
In summary
A user can create or edit a profile page - to do this they must register their details
A general user can view any profile page but cannot edit it, however they can add a comment provided they make a donation - to do this they do not have to register their details (for log in purposes)
I would very much appreciate it if somebody could set me on the right path as to how to initially set up the database, if it can be done.
Many thanks.

Paul

Sergey Kornilov admin 7/26/2010

Paul,
this one is pretty easy.
On Security screen under Advanced you need to enable Guest login. Then use 'User Group Permissions' to allow users access certain tables and pages without need to login.