something like that.
where I can insert into the database, depending on 1, 2 or 3 reasons that must fit befor it will be inserted in the database.
Why not use SecurityAssist to create access to the page. Or, if it is the case like I have on some pages where I want to only show the comment form to users that are logged in, you could establish their session user level upon user authentication and then only show the form if the session level meets the required level through the WebAssist "show region" utility. That would be the more efficient way to accomplish that.