Results 1 to 1 of 1

Thread: Permission - Deny other process read specific file

  1. #1
    Join Date
    Apr 2024
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Permission - Deny other process read specific file

    Hello,

    I'd like to find out some methods like the MFC CFile::shareExclusive
    The function can deny read and write access to all other processes
    https://learn.microsoft.com/en-us/cp...-170#remarks-2


    I only find QFileDevice::Permission, but it seems to only control the system file permission based on the login user
    not deny other processes
    https://doc.qt.io/qt-5/qfiledevice.html#Permission-enum


    Hope someone can provide any ideas to do this
    Last edited by Allen Huang; 29th April 2024 at 05:31.

Similar Threads

  1. Read a file after a specific line
    By kahlenberg in forum Qt Programming
    Replies: 4
    Last Post: 20th September 2018, 18:35
  2. how can i read a specific string from file?
    By sajastu in forum Qt Programming
    Replies: 5
    Last Post: 16th January 2015, 23:30
  3. Replies: 1
    Last Post: 16th April 2014, 07:44
  4. Read a specific line from a file
    By rleojoseph in forum Qt Programming
    Replies: 11
    Last Post: 21st March 2011, 11:58
  5. Windows file permission : isReadable()
    By demifred in forum Qt Programming
    Replies: 2
    Last Post: 5th October 2006, 13:02

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.