Patent ID: 8032930

Claim:
An automated method of impersonating a user account associated with a website to serve dynamic content from that website, the method comprising: receiving at a web server a request for dynamic content of a first website hosted by the web server; associating the request for dynamic content with a default anonymous user account on the web server; identifying a custom user account corresponding to the first website, in a database separate from the web server, wherein the custom user account is configured with permission to access content of the first website but not content of a second website hosted by the web server; invoking a logon cache manager configured to cache logon handles for sharing among multiple processes executing on the web server; at the logon cache manager: searching a cache for a logon handle for the custom user account; if said search of the cache fails: logging in as the custom user account; receiving the logon handle for the custom user account and storing the logon handle in the cache; duplicating the logon handle for the custom user account; and returning the duplicate logon handle in response to said invoking; and if said search of the cache succeeds: duplicating the logon handle for the custom user account; and returning the duplicate logon handle in response to said invoking; associating the request for dynamic content with the custom user account instead of the default anonymous user account, by attaching the duplicate logon handle to the request for dynamic content; serving the requested dynamic content; and before the request is terminated, removing the duplicate logon handle from the request for dynamic content and re-associating the request for dynamic content with the default anonymous user account instead of the custom user account.