Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Password on files

  1. #1

    Default Password on files

    I know there are permissions one can assign to certain files and folders, but this won't come in handy if you need quick access to a file -and as User I often do- and don't want to slow down getting root permissions. You know, just open-close-move on.
    Is there a way, as user, to assign a password to a file or a folder? It would make the job a lot easier and more efficient.

  2. #2
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,450

    Default Re: Password on files

    Not sure why. You can simply ban anyone else from reading particular files or folders - the time taken to read the permissions is the same regardless of the setting. Adding a password would slow down access - in any case, if you ban anyone else from reading your files, then by default they are all covered by your user password.

  3. #3

    Default Re: Password on files

    Yeah, I know, but I actually need to share my own session with other users, so it would be useful.
    Thanks anyway!

  4. #4
    Join Date
    Jun 2008
    Location
    Connecticut, USA
    Posts
    2,294
    Blog Entries
    1

    Default Re: Password on files

    If you can't password protect it, I guess changing the permissions to be accessible only to you is the next best thing.

    Are passwords stored on the system level, or is it up to the application?
    "Linux provides freedom, problem is most users don't know what it is or how to use it." ~me
    Friends don't let Friends wear red shirts on away parties!
    Linux User #477531 | Danbury Area Computer Society (www.dacs.org)

  5. #5
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Password on files

    Quote Originally Posted by lorenzobrion View Post
    Yeah, I know, but I actually need to share my own session with other users, so it would be useful.
    Thanks anyway!
    Why don't you encrypt them? gpg is good for this.

  6. #6
    Join Date
    Jun 2008
    Location
    Connecticut, USA
    Posts
    2,294
    Blog Entries
    1

    Default Re: Password on files

    Quote Originally Posted by chief_sealth View Post
    Why don't you encrypt them? gpg is good for this.
    Can Truecrypt handle individual files, or just directories?
    "Linux provides freedom, problem is most users don't know what it is or how to use it." ~me
    Friends don't let Friends wear red shirts on away parties!
    Linux User #477531 | Danbury Area Computer Society (www.dacs.org)

  7. #7
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Password on files

    Quote Originally Posted by dragonbite View Post
    Can Truecrypt handle individual files, or just directories?
    I don't know, but that might be another way to go, a TC virtual partition. It isn't in the repos though.

  8. #8
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Password on files

    Reading the OP again, I'm not exactly sure what these files are that lorenzobrion has in mind. Are they personal files, or system files? Is there a particular reason you have to share your session?

  9. #9

    Default Re: Password on files

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    If you use a file format that supports passwords this should be trivial.
    For example, use OpenOffice documents and you can password-protect any of
    them. When you open them OO.o will prompt you for a password as it is
    opened; voila, you're done.

    Good luck.





    On 09/02/2010 12:36 PM, lorenzobrion wrote:
    >
    > I know there are permissions one can assign to certain files and
    > folders, but this won't come in handy if you need quick access to a file
    > -and as User I often do- and don't want to slow down getting root
    > permissions. You know, just open-close-move on.
    > Is there a way, as user, to assign a password to a file or a folder? It
    > would make the job a lot easier and more efficient.
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJMgU3dAAoJEF+XTK08PnB5sEQP/3jvWs2fT559qb9RU/QTl6nr
    XDf87INlD/iXgtddYbyOqD9Cd4I5EzVZURSe7npUae2SbXVRMdbFpWFEMMn0IqsT
    6C7yFQokBGZY8bCZCop3T0FsLuvK//ePg8H7TES5nyYe11zyu2uw6iE5bF6zths8
    uHogTIoyBknE6flGAHX2UC9SgaJ2R60q40zYvkmmnPOmGNb/CHqOsgljC0Gnezbm
    Qc80fFp4AqNBQ8JBXeW5ZIoBAMraYNxyLJxjDQtlclEiztl85ik8N3PDSYQSrcii
    55s+5z16AzQOEF3wkUyDTojYklXlkCurv6cFH3nNMOeBBREcq4jfTK+yeq8MBO+c
    GzKvEdJuoJnOaJgHS6Pi5ZNk3ARZ1t0sLHrzFchktkCd2Z2nla7loicl1TE1KoLQ
    Syds6cNP3ms7meHWhJFFb3zxSngJI85aM+P9KJqeKJ3ooJiE2VbtTfat6idtKLnx
    gSeSmlqxim92UqaFCrcFM2NbE94XKc5kUoivGUZM4SBiP1OItj8rzkZdJi6fPNO7
    XleiSIMt4f1ME8PCSD5+uY1xxP4r3XActBHpiX/D0ReC1AxlpsOYjQFsKw1MN53N
    182GwIOi5SQhb7ElK1csdev7JalZAEs3tHHwghWPTuvq3x0HTIg8uHE5gL+ICVpv
    ukV3fBOWBtTPENTAGDjh
    =bMfq
    -----END PGP SIGNATURE-----

  10. #10
    Carlos E. R. NNTP User

    Default Re: Password on files

    On 2010-09-02 20:36, lorenzobrion wrote:

    > Is there a way, as user, to assign a password to a file or a folder? It
    > would make the job a lot easier and more efficient.


    None, except encryption.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" GM (Elessar))

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •