Thread: How to implement password access to specific file type in Linux programmatically?

  1. #1
    Registered User
    Join Date
    Jan 2017
    Posts
    5

    How to implement password access to specific file type in Linux programmatically?

    1. I do not want user to launch all ".doc" files (including those he brings in).
    2. User tries to launch a file "test.doc".
    3. The password window appears.
    4. If the password is correct, the file is opened.
    Know how?..

    I read this guide:
    3 Ways to Create a Password Protected File on Windows 7 - wikiHow

    The problem is that I want to do it by mask, not just a few known files.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 7
    Last Post: 01-13-2017, 12:27 AM
  2. Replies: 1
    Last Post: 06-29-2014, 02:08 AM
  3. Specific ether type with raw socket under linux
    By sinacbe in forum Networking/Device Communication
    Replies: 1
    Last Post: 12-25-2009, 08:04 AM
  4. Replies: 9
    Last Post: 11-12-2007, 03:29 PM
  5. Need help reading in specific type of file
    By Natase in forum C Programming
    Replies: 4
    Last Post: 09-12-2001, 08:02 PM

Tags for this Thread