Table of Contents

FlexCelHtmlImageHandler.GetImage Method

Override this method to return the image.

WARNING: Whatever you do here, make really sure you return only the indented image. A NAIVE IMPLEMENTATION OF THIS METHOD MIGHT RESULT IN A HUGE SECURITY HOLE. An attacker could use an implementation that just returns a file to retrieve any file in the server.

Syntax

Namespace: FlexCel.AspNet

public virtual Boolean GetImage(HttpContext context)

Parameters

<-> Parameter Type Description
context HttpContext

Returns

True if the image was correctly served.

See also