I need to block all USB storage devices (pendrives &amp; mobile devices) but I need to access USB keyboard and USB mouse.  I have already tried by editing /etc/modprobe.d/blacklist.conf by adding blacklist usb_storage but still the system can access USB devices.
116837
I'm using Ubuntu 12.04 and I want to block usb storage on it. What is the correct way to do this?
80413
I tried to rm -rf a folder, and got "device or resource busy".  In Windows, I would have used LockHunter to resolve this. What's the linux equivalent? (Please give as answer a simple "unlock this" method, and not complete articles like . Although they're useful, I'm currently interested in just ASimpleMethodThatWorks™)
29250
Is there any simple (IE: right click in Nautilus) way to password protect a particular folder/file in Ubuntu? I've got a few files containing sensitive info and I'd much prefer that if/when I leave my computer alone, they aren't accidentally accessed by someone else.  The secruty does not have to be extremely tight. My only concern is that when family/friends come over, I don't really like the idea of them looking at my bank details, accounts or, you guessed it, porn collection.  A simple, effective way to let me put my machine in the hands of someone else knowing that said machine can not cause me embarresment is the sole reason why I'd like to see this in Ubuntu.
32929
My surface tablet is shared with a friend. She uses a separate account, with admin rights.  Being an admin, she is able to gain access to all my files. Even my OneDrive files.   I guess I could follow  to prevent this (it basically states that you'll need to disable access for the targeted administrator), but the same scenario would be present if I were to create another administrator account.  You could say "don't make her administrator", but I don't want to mess with her personal files as well.  Somehow this feels as a security flaw... or am I mistaken?  Is there any way to protect private files from "administrator eyes" by default?
42439
I have a luks setup with encrypted partition. And I don't want everyone on my computer to see that I have such partition. Unfortunately it shows up in the nautilus "devices" panel as "Encrypted partition".  Is there a way to prevent it from showing there? I managed to setup authentication with usb key and I don't want the encrypted partition show in the panel.
18525
I am wondering if it possible to create a USB device (in following the device) composed from   a custom circuit (eg arduino) and  a flash storage   in such a manner that the device is recognized as a standard usb flash storage (and as such is operable with standart OS drivers), while said storage holds the utilities to operate with the custom circuit (dispalying the data colled by the circuit); and if so, how?  My first thought was to smack a cheap usb-hub and usb-pen before my circuit but that solution, is not pleasing to me.  My goal is to eliminate the need to carry an extra flash-drive just for the operating software, and use default os drivers, make it plug-and-just-work:   i plug the device in the os (windows) mounts a new flash-drive without needing a special driver is start (manually or via autorun) my custom.exe from that flash-drive i recive data measured by the circuit
19220
I have been tasked with building several PCs to act as secure kiosks that allow users to view and use an intranet site at my company.  Our LP staff will cover physical security, so that is not a concern. To prevent booting from a USB drive or walking with the HDD, I will be encrypting with BitLocker.  What I am having trouble with is deciding on a method to lock down Windows 7 in such a way that the only thing a user has access to is a browser (in this case, IE9) and limit the browser to specific URLs (or domains). I have considered doing this through Group Policy, but it seems there would be a substantial amount of research, development, and testing involved to get it right. With that said, does anyone know of a free or inexpensive piece of software that can accomplish this? Any recommendations would be appreciated.
78342
I have a bootable USB drive w/Ubuntu 10.04.  I use it to learn Ubuntu and to diagnose, repair, or recover other people's computers and files.  The problem comes when I constantly have to keep re-downloading the tools I need.  Is there a way to keep the tools I downloaded and keep Ubuntu they way I customized it (i.e. wallpaper, graphic options, icons on desktop, etc.) without installing it on the PC?  I want to be able to keep everything on my USB drive.
68743
How can I find the file system type of USB drive without using computer? Drive is attached to Android phone and I can see the files in it. I want to know if it is extFAT etc.
44640
I have a USB scale, a USB HID.  Currently, when it is plugged in, the permissions only allow the superuser to access it.  How can I configure udev to let anybody access this device?  I have the vendor and product IDs, but I would like to match it based on the HID type instead.  Right now, I'm having trouble finding any existing rule that applies to this (I grepped for "hidraw" in /lib/udev/rules.d and /etc/udev/rules.d, among other things).
122920
I know I can block websites in Parental Controls, but accessing that option requires the "Limit Adult Websites" option, which I find to be overly strict.  Is there a way to block specific websites without third-party software?  I'm running High Sierra on my laptop.
25678
I'd like to build a version of Ubuntu that has absolutely no ability to recognize any USB device inserted. Is this possible?  There's the issue that mouses and keyboards nowadays are connected via usb, so I wonder if it's possible to recognize these but not everything else.  In the end it's a security measure, so different solutions to achieve this goal are also welcome.
57820
I need to hide the D: drive for specified users on Windows 7. How can I do that?
92141
I am trying to use my ext4 USB drive but Ubuntu 13 is currently mounting it with write permission only for root so with my normal user I can't write to it, without sudo.   The first place I checked was dconf-editor which has the following options   automount automount-open autorun-never autorun-x-content-ignore autorun-x-content-open-folder autorun-x-content-start-app   and it seems to me there should be an option in there to control if I can write to the mounted USB drive, but no.   I also made sure my user is in the relevant groups: fuse and plugdev  I've searched most of the internet and can't find a solution to change the permissions given by the mount operation. There's literally nobody out there having this problem incredibly. A ton of people have issues because their drives mounts totally read-only, but not this way with only root write permission.  I can't see any way of controlling what happens. I looked at setting the mount options using gnome-disks but drew a blank.  It's not in fstab but it does appear in the mount list or /etc/mtab:  /dev/sdb1 /media/adam/WDPassport2T ext4 rw,nosuid,nodev,uhelper=udisks2 0 0   This is what appears in syslog if it helps:  kernel: [111522.196770] usb 2-1: USB disconnect, device number 6 kernel: [111525.384020] usb 2-1: new high-speed USB device number 7 using ehci-pci kernel: [111525.565220] usb 2-1: New USB device found, idVendor=1058, idProduct=0820 kernel: [111525.565225] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5 kernel: [111525.565227] usb 2-1: Product: My Passport 0820 kernel: [111525.565229] usb 2-1: Manufacturer: Western Digital kernel: [111525.565231] usb 2-1: SerialNumber:  575832314141334A34383631 kernel: [111525.565729] usb-storage 2-1:1.0: USB Mass Storage device detected kernel: [111525.566203] scsi9 : usb-storage 2-1:1.0 mtp-probe: checking bus 2, device 7: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1" mtp-probe: bus: 2, device: 7 was not an MTP device kernel: [111526.564697] scsi 9:0:0:0: Direct-Access     WD       My Passport 0820 1007 PQ: 0 ANSI: 6 kernel: [111526.565063] scsi 9:0:0:1: Enclosure         WD       SES Device       1007 PQ: 0 ANSI: 6 kernel: [111526.568096] sd 9:0:0:0: Attached scsi generic sg2 type 0 kernel: [111526.568202] ses 9:0:0:1: Attached Enclosure device kernel: [111526.568263] ses 9:0:0:1: Attached scsi generic sg3 type 13 kernel: [111531.263108] sd 9:0:0:0: [sdb] 3906963456 512-byte logical blocks: (2.00 TB/1.81 TiB) kernel: [111531.265100] sd 9:0:0:0: [sdb] Write Protect is off kernel: [111531.265105] sd 9:0:0:0: [sdb] Mode Sense: 47 00 10 08 kernel: [111531.266473] sd 9:0:0:0: [sdb] No Caching mode page found kernel: [111531.266479] sd 9:0:0:0: [sdb] Assuming drive cache: write through kernel: [111531.272224] sd 9:0:0:0: [sdb] No Caching mode page found kernel: [111531.272230] sd 9:0:0:0: [sdb] Assuming drive cache: write through kernel: [111531.284885]  sdb: sdb1 kernel: [111531.288219] sd 9:0:0:0: [sdb] No Caching mode page found kernel: [111531.288223] sd 9:0:0:0: [sdb] Assuming drive cache: write through kernel: [111531.288227] sd 9:0:0:0: [sdb] Attached SCSI disk kernel: [111531.751588] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null) udisksd[3131]: Mounted /dev/sdb1 at /media/adam/WDPassport2T on behalf of uid 1000
46609
Recently, I bought an USB flash drive which has a cool design.  The seller said it is 256GB however, I've already known that capacity would be fake. Anyway, I bought it cause of its cool design and want to use this USB flash drive anyway.  What should I do?  I've tried to find a proper tool(vid 1908 / pid 1320) but couldn't. Can I repair this through Low level format? Or partitioning this through Linux?
110666
I would like to restrict some websites to be surfed. I mean I want to prevent access to some websites. Please guide me on how to do the same in Ubuntu 14.04 LTS.
100528
Say I used some thumbdrive on a public Windows computer and I copy some data to my Ubuntu computer with it. I cannot be completely sure that the Windows computer was clean, and it might have put something onto my thumbdrive. Is there a way to erase everything on a USB-Stick, even MBR viruses and that kind of off-filesystem stuff?