Patent ID: 8806431

Claim:
A method for utilizing aspect oriented programming on a server, the method comprising: subjecting a HTML layout container to aspect oriented programming on a server-side; tagging the HTML layout container with a class name representing a sensitive aspect of the HTML layout container to separate the tagged HTML layout container from non-sensitive HTML layout containers to prevent unauthorized access to sensitive program objects in the tagged HTML layout container from client-side mechanisms, wherein the sensitive aspect comprises at least one of a security, access control and compliance aspect of the HTML layout container and the non-sensitive aspect comprises at least one of a content, presentation or behavior aspect of the HTML layout container; receiving a request from a browser for the HTML layout container; locating the HTML layout container on the server-side; determining at a server framework if a HTML page of the HTML layout container is being served to a browser authorized to access program objects contained in the HTML layout container tagged with the sensitive aspect class name on a client-side; acting on the determination for the HTML page of the HTML layout container; performing JavaScript code that is tagged to be performed by the server-side; and stripping out the JavaScript code that is tagged to only be performed by the server-side from the HTML page of the HTML layout container.