Sponsored Content
The Lounge What is on Your Mind? Individual Risk Management (Personal IT Security) and Browser Cache Management Post 303033252 by bakunin on Tuesday 2nd of April 2019 07:04:29 AM
Old 04-02-2019
Individual Risk Management (Personal IT Security) and Browser Cache Management

Moderator's Comments:
Mod Comment Original post from this thread on browser caching.


To add to this, it is an effective security measure to clear absolutely all cached data (cookies, web content, ....) when closing the browser - i.e. in case of a shutdown. It takes a bit of work to re-login to all the sites but websites will not be able to identify you personally across sessions.

Also notice that some websites use information about your window size to identify you. This is why it is unwise to have maximized browser windows. Use fixed-size windows (like the for instance the TOR-browser does) instead which you should resize only in case you trust the website shown in this window.

bakunin
 
IMAGEGRABWINDOW(3)							 1							IMAGEGRABWINDOW(3)

imagegrabwindow - Captures a window

SYNOPSIS
resource imagegrabwindow (int $window_handle, [int $client_area]) DESCRIPTION
Grabs a window or its client area using a windows handle (HWND property in COM instance) PARAMETERS
o $window_handle - The HWND window ID. o $client_area - Include the client area of the application window. RETURN VALUES
Returns an image resource identifier on success, FALSE on failure. ERRORS
/EXCEPTIONS E_NOTICE is issued if $window_handle is invalid window handle. E_WARNING is issued if the Windows API is too old. EXAMPLES
Example #1 imagegrabwindow(3) example Capture a window (IE for example) <?php $browser = new COM("InternetExplorer.Application"); $handle = $browser->HWND; $browser->Visible = true; $im = imagegrabwindow($handle); $browser->Quit(); imagepng($im, "iesnap.png"); imagedestroy($im); ?> Capture a window (IE for example) but with its content <?php $browser = new COM("InternetExplorer.Application"); $handle = $browser->HWND; $browser->Visible = true; $browser->Navigate("http://www.libgd.org"); /* Still working? */ while ($browser->Busy) { com_message_pump(4000); } $im = imagegrabwindow($handle, 0); $browser->Quit(); imagepng($im, "iesnap.png"); imagedestroy($im); ?> NOTES
Note This function is only available on Windows. SEE ALSO
imagegrabscreen(3). PHP Documentation Group IMAGEGRABWINDOW(3)
All times are GMT -4. The time now is 10:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy