Skip to content

Instantly share code, notes, and snippets.

@dperini
Created April 29, 2010 23:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dperini/384469 to your computer and use it in GitHub Desktop.
Save dperini/384469 to your computer and use it in GitHub Desktop.
Adobe Flash LSO (Local Shared Objects) are like super-cookies that never expire and cannot be removed by browsers.
The Flash plugin installed in your system allows sites to write/share sensitive informations on your hard disk.
These are the simple info I currently have on how to make folders immutable on *NIX OS (Mac and Linux).
I have not been able to make immutable folders on my Windows XP VM maybe because I only use FAT32.
It seems that Windows allows you to lock files and folders on NTFS volumes only (I miss the info).
The following are the location of the folder that should be made immutable on each OS,
the necessary file-system command to achieve the locking are also listed for each OS.
"youtube.com" and other non aggressive sites will continue to work with this fix.
It would be advisable to remove all the files currently present in these
folders before proceeding with the command to lock these directories.
Linux:
~/.macromedia/Flash_Player/#SharedObjects/
~/.macromedia/Flash_Player/macromedia.com/support/flashplayer/sys/
chattr +i <foldername> (you must be root to set the immutable flag on Linux)
Mac OS:
~/Library/Preferences/Macromedia/Flash\ Player/#SharedObjects/
~/Library/Preferences/Macromedia/Flash\ Player/macromedia.com/support/flashplayer/sys/
chflags -R uchg <foldername> (you don't need to be root to set the immutable flag on Mac OS)
Windows:
C:\Document\ and\ Settings\user\Application\ Data\Macromedia\Flash\ Player\#SharedObjects\
C:\Document\ and\ Settings\user\Application\ Data\Macromedia\Flash\ Player\macromedia.com\support\flashplayer\sys\
attr +R <foldername> (doesn't really work on FAT volumes, maybe on NTFS volumes, not tested)
I am looking forward for instructions on how to achieve the same folder immutability on Windows !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment