Server-side access filters for web content
AssigneeOracle International Corporation
InventorsPrakash Dodeja, Eric Tarasoff, Donald Joseph Bircher, Tomasz Pęczek
Life of this patent
Estimating the term…
Abstract
A method of filtering web content may include receiving a request from a client device for code for displaying web content. The request may be associated with one or more attributes. The method may also include identifying a section of the code that is enclosed by a set of tags that specify requirements for accessing the section of the code. The method may additionally include determining that the one or more attributes associated with the request do not meet the requirements for accessing the section of the code. The method may further include sending the code for displaying the web content to the client device with the section of the code enclosed by the set of tags removed.
Claims20
A method of filtering web content, the method comprising:
- receiving, at a web server that hosts web content, a request from a client device for code for displaying the web content, wherein the request is associated with one or more attributes;
- identifying, by the web server,
- (i) a first section of the code that is enclosed by a first set of tags, wherein code within the first set of tags specifies to the web server first requirements for accessing the first section of the code enclosed by the first set of tags, and
- (ii) a second section of the code that is enclosed by a second set of tags, wherein code within the second set of tags specifies to the web server second requirements for accessing the second section of the code enclosed by the second set of tags, wherein the second requirements are different from the first requirements;
- determining, by the web server, that the one or more attributes associated with the request
- (i) do not meet the requirements specified within the first set of tags for accessing the first section of the code enclosed by the first set of tags, and
- (ii) do meet the second requirements specified within the second set of tags for accessing the second section of the code enclosed by the second set of tags;
- generating a filtered code for displaying the web content by:
- (i) based on the determination that the one or more attributes do not meet the requirements specified within the first set of tags, removing, by the web server, the first section of the code enclosed by the first set of tags from the code for displaying the web content, and
- (ii) based on the determination that the one or more attributes do meet the requirements specified by the second set of tags, removing, by the web server, the second set of tags, but not the second section of code, from the code for displaying the web content;
- and
- sending, from the web server, the filtered code for displaying the web content to the client device.
A non-transitory, computer-readable medium comprising instructions that, when executed by one or more processors, causes the one or more processors to perform operations comprising:
- receiving, at a web server that hosts web content, a request from a client device for code for displaying the web content, wherein the request is associated with one or more attributes;
- identifying, by the web server,
- (i) a first section of the code that is enclosed by a first set of tags, wherein code within the first set of tags specifies to the web server first requirements for accessing the first section of the code enclosed by the first set of tags, and
- (ii) a second section of the code that is enclosed by a second set of tags, wherein code within the second set of tags specifies to the web server second requirements for accessing the second section of the code enclosed by the second set of tags, wherein the second requirements are different from the first requirements;
- determining, by the web server, that the one or more attributes associated with the request
- (i) do not meet the requirements specified within the first set of tags for accessing the first section of the code enclosed by the first set of tags, and
- (ii) do meet the second requirements specified within the second set of tags for accessing the second section of the code enclosed by the second set of tags;
- generating a filtered code for displaying the web content by:
- (i) based on the determination that the one or more attributes do not meet the requirements specified within the first set of tags, removing, by the web server, the first section of the code enclosed by the first set of tags from the code for displaying the web content, and
- (ii) based on the determination that the one or more attributes do meet the requirements specified by the second set of tags, removing, by the web server, the second set of tags, but not the second section of code, from the code for displaying the web content;
- and
- sending, from the web server, the filtered code for displaying the web content to the client device.
A system comprising:
- one or more processors;
- and
- one or more memory devices comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
- receiving, at a web server that hosts web content, a request from a client device for code for displaying the web content, wherein the request is associated with one or more attributes;
- identifying, by the web server,
- (i) a first section of the code that is enclosed by a first set of tags, wherein code within the first set of tags specifies to the web server first requirements for accessing the first section of the code enclosed by the first set of tags, and
- (ii) a second section of the code that is enclosed by a second set of tags, wherein code within the second set of tags specifies to the web server second requirements for accessing the second section of the code enclosed by the second set of tags, wherein the second requirements are different from the first requirements;
- determining, by the web server, that the one or more attributes associated with the request
- (i) do not meet the requirements specified within the first set of tags for accessing the first section of the code enclosed by the first set of tags, and
- (ii) do meet the second requirements specified within the second set of tags for accessing the second section of the code enclosed by the second set of tags;
- generating a filtered code for displaying the web content by:
- (i) based on the determination that the one or more attributes do not meet the requirements specified within the first set of tags, removing, by the web server, the first section of the code enclosed by the first set of tags from the code for displaying the web content, and
- (ii) based on the determination that the one or more attributes do meet the requirements specified by the second set of tags, removing, by the web server, the second set of tags, but not the second section of code, from the code for displaying the web content;
- and
- sending, from the web server, the filtered code for displaying the web content to the client device.
Dependencies are inferred from the claim text.