Re:Is there a maximum size for Windows clipboard data?
by Melatonic on Wednesday June 08, 2022 @12:50PM
(#31670157)
Not true anymore - there are process isolation modes you can enable in Windows 10 as well as kernel isolation where it runs core processes in a VM essentially. And there is also protected folder access.
[ Parent
| on HN ]
Re:Is there a maximum size for Windows clipboard data?
by MrLeap on Wednesday June 08, 2022 @11:27PM
(#31677273)
I've been wondering about this -- I'm making a text editor RPG, and in the medium term I want to make a file picker that builds a procedural dungeon based on your file system. I know such a thing would have been trivially fine in older versions of windows, but I didn't know if going down that road has any foot guns a more educated win developer would know.
Is protected folder access an on-by-default thing, or is it only certain folders?
Quick googling makes me think my plan might trigger windows defender for an exemption request. Hm That's a drag, but understandable I suppose?
Re:Is there a maximum size for Windows clipboard data?
by smileybarry on Thursday June 09, 2022 @06:34AM
(#31679557)
You'd trigger Windows Defender's "Controlled Folder Access" only if the user has it on (it's still off by default IIRC due to many, many false positives) and only for write operations. By iterating every file you may trigger its "this might be ransomware" flag but you'll only be stopped when you try to write to a protected folder. (Which is only Documents, Pictures & Videos by default)
But honestly, I've had to whitelist Microsoft's own Windows utilities from CFA in its earlier days, so don't fret about it.