Hello all! Is it possible to set password on a local file/folder? While trying to make a program for it, I read in the manual that you can do so using qurl but the explanation is not that satisfying. Anyone can help?
Hello all! Is it possible to set password on a local file/folder? While trying to make a program for it, I read in the manual that you can do so using qurl but the explanation is not that satisfying. Anyone can help?
I would say this is a file system issue, not something you can do above the file system.Is it possible to set password on a local file/folder?
That is, for regular files.
If you construct a special file format, that only your app can open and read, then sure, you can have any username password or other machanisms.
Can you post a link to that manual?I read in the manual that you can do so using qurl but the explanation is not that satisfying. Anyone can help?
Or do you mean the Qt docs?
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
As far as I understand this is not even possible with QUrl.
The setPassword() of QUrl just allows you to pass user login information to url(server) that supports it - it does not make the url be passowrd protected or be user aware.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks