StrataFrame Security Documentation Send comments on this topic.
Differences in Web Security

Glossary Item Box

Differences in Web Security

Security within a web project is different than security within a Windows project in the following ways:

CurrentUser

When using security on the web, the SecurityBasics.CurrentUser property must be configured to store a different ISecurityUser object for each session, rather than just one for the whole AppDomain. 

This is accomplished via a configuration setting which indicates that the application is being run within a web environment.  This tells the CurrentUser property to use the current session object to retrieve and store the current ISecurityUser.  For more information, refer to the Required Global.asax Code topic.

Maintenance Forms

No user, role, or restriction set maintenance forms are available for web projects. Therefore, all users, roles, and selected permissions must either be set using the SecurityDialog in a windows form, or must be set via custom forms created within your web project to maintain user permissions and roles.

Object Permissions

Web-based object permissions function as follows:

Session Locking

Session locking is not supported within web applications.

Programmatic Access

Programmatic access within a web project is exactly the same as within a Windows project. The CurrentUser object can be queried for available permissions, and the proper ISecurityUser object will be returned from the CurrentUser property.