Disabling Browse to Library in Media Upload Field I'm on d7.2 with the included Media Module. I'm also using WYSIWYG if that matters at all.

I'm seeing that when a user clicks the image upload field, they have a choice of either 'web' or 'library'.  The Library option shows all files that other users have uploaded to be included in other nodes. How do I disable that so that they don't see all the other files?

I don't use galleries- just upload/attach images to nodes that the users themselves create. Guests and Registered Users BOTH can see the nodes and image files- but I don't want them to have access to all the images that have been uploaded previously.

I think this has something to do with Private/Public, but I can't figure it out. Any input?
This can be accomplished with a module, and this hook:

/**
 * Implements hook_media_browser_plugins_alter().
 */
function my_module_media_browser_plugins_alter(&amp;$plugins) {
  // Hide the "Library" tab on the WYSIWYG media upload widget.
  unset($plugins['library']);
}