CreateDesktop | Example application for creating multiple desktops | Dektop Application library
kandi X-RAY | CreateDesktop Summary
kandi X-RAY | CreateDesktop Summary
Creates a new desktop named "MalwareTech_Hidden" and switches into it (You can witch back to the original dekstop with the hotkey CTRL + ALT + E).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of CreateDesktop
CreateDesktop Key Features
CreateDesktop Examples and Code Snippets
Community Discussions
Trending Discussions on CreateDesktop
QUESTION
I am calling CreateDesktop to create a virtual desktop for security against keyloggers. However, somebody can easily open the desktop using OpenDesktop. I specifically want to prevent somebody from creating a process within that desktop.
The last parameter of CreateDesktop points to a SECURITY_ATTRIBUTES structure. However, I’m not sure how to use it.
I heard that you can’t have a process-level protection, but only user level. Is there a way to create a new restricted user and then have the last parameter use the credentials of the user?
Thanks
...ANSWER
Answered 2020-Aug-25 at 08:31Yes you can control accesses of others to the desktop you created via security descriptor.
If the value of lpSecurityDescriptor member is NULL
, the object is assigned the default security descriptor associated with the access token of the calling process. By default, the default DACL
in the access token of a process allows access only to the user represented by the access token. (This is not the same as granting access to everyone by assigning a NULL
discretionary access control list (DACL
). A NULL
DACL
permits all types of access to all users.)
If the default security descriptor doesn't meet your requirements you can create EXPLICIT_ACCESS
like grant only read access to someone and grant all access to yourself.
More reference: Creating a Security Descriptor for a New Object in C++.
QUESTION
I'm trying to make a program that hides and shows all my desktop files (mac) by executing defaults write com.apple.finder CreateDesktop false #or 'true' to show my files killall Finder I'm using tkinker to make a gui but everytime I execute my code, it shows all my files(without me doing anything) then when I request it to hide all my files it did, but it doesn't show them again.
Code:
...ANSWER
Answered 2020-Aug-24 at 05:58Change slogan
to below:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install CreateDesktop
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page