Closed tnodir closed 7 months ago
To improve the "wildcard paths" handling, I'm going to:
Collect New Programs
flag) for blocked app due wildcard path@Emi-Emi-Emi What do you think?
As I understood, you want to go with the AppGroups but then Programs to whitelist individual apps?
Not against this approach, but I think the problem is how both are in total different places, so managing them is not as good as it can be.
So while I am not saying Programs have to be re-done, AppGroups should be closer or part of it or something, like there should be a way to make them work better and more seamlessly together. I mean there is already "Application Group" and "Use Enable State" in Programs, so they are meant to work together too.
Because for my example, I could have added Store to Programs, that would work (not thinking about the wildcard here), but then I would have to manage them in two places, so I wanted to stay in AppGroups, because it is easier to copy and paste a line than keep going to Programs for it.
I mean, the simplest improvement I can think about this is to add a Groups
button in Programs window like you did with Services, which is not super seamlessly but at least a click away is better than options and then have to select the 3rd tab to access AppGroups.
I think with My Fort addition, is still there for future organization of things, and don't have everything in Options, but still have Statistics and Programs and Zones in different windows (I guess similar issue might exist with IP addresses not belonging to Options though but that's another topic.).
At least Groups in Programs, makes more sense than Options, especially if the approach is to make them work more together to 'fix' these kind of situations.
So it sounds good, but I think Groups should be closer to Programs.
"Use Enable State" in Programs
This flag will be removed, when I'll extract "Speed Limit" groups to own window.
As I understood, you want to go with the AppGroups but then Programs to whitelist individual apps?
I want to just extend Programs window to have wildcard paths too.
So you can individually configure wildcard paths to Allow/Block, Collect blocked conns etc.
At least Groups in Programs, makes more sense than Options, especially if the approach is to make them work more together to 'fix' these kind of situations.
I like this idea. Added #143.
I mean, the simplest improvement I can think about this is to add a Groups button in Programs window like you did with Services, which is not super seamlessly but at least a click away is better than options and then have to select the 3rd tab to access AppGroups.
Implemented by de1ad753.
- Don't add new entry to Programs window (
Collect New Programs
flag) for blocked app due wildcard path
It already works as expected. Maybe my previous test was mistaken..
- Add ability to add Wildcard paths to Programs window (and the entry's path will be always editable, unlike the normal programs)
Implemented.
- Reorganize wildcard paths processing:
- paths from Programs window has higher priority than paths from App Groups
Implemented.
- 1-st app group has higher priority than 2-nd
Not implemented.
Prefix wildcards (PATH/**) are collected to one sorted list to binary search.
But I've changed the driver to first search by complex wildcard paths, and then by prefix wildcards.
- Block has higher priority than Allow
Implemented.
Nice! thank you, everything sounds great. Just installed and will be testing!
Oh, and now I can use C:\Users\root\AppData\Local\PowerToys\**
in block column and then C:\Users\root\AppData\Local\PowerToys\PowerToys.exe
in the allow and it will work as in the discussion! 👍
Now it will be harder to choose between Programs and AppGroups, but might go back to combine both at some point, just to benefit from both.
Discussed in https://github.com/tnodir/fort/discussions/141