[GRANTED]Access Control for files, and more

Features wanted...
bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

[GRANTED]Access Control for files, and more

Post by bdeshi »

admin.ini can only control access to certain locations but not files.
Therefore I propose two new keys in [AccessControl].

Code: Select all

[AccessControl]
AllowedFiles=xyplorer.exe|*.xys|E:\Games\*.exe
DisallowedFiles=cmd.exe|infection.vbs|E:\Secret\confidentialSatelliteImg.tif|*.mp3

Plus notice the additional wish for wildcard support in that section.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

eil
Posts: 1888
Joined: 13 Jan 2011 19:44

Re: Access Control for files, and more

Post by eil »

since i wanted an ability to control access/hide locations from view since long ago, i second this wish.
Win 7 SP1 x64 100% 1366x768|1900x1080

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Access Control for files, and more

Post by yusef88 »

+1 for global filter separate from power filters

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Access Control for files, and more

Post by bdeshi »

yusef88 wrote:+1 for global filter separate from power filters
are you sure this should be in this thread?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Access Control for files, and more

Post by yusef88 »

yes, "DisallowedFiles" in "Admin.ini" makes it a permanent filter

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Access Control for files, and more

Post by bdeshi »

how do power filters come into play here? :eh:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Access Control for files, and more

Post by yusef88 »

I'll try explain my point
there is some files and folders I do not want to see while browsing so I use below visual filter as default folder view setting to hide them
the annoying thing when I apply another filter it automatically switches back to default one if folder changed

Code: Select all

"" !desktop.ini|*.db|$recycle.bin|RECYCLER|system volume information|bootmgr|boot.ini|BOOTNXT|config.sys|hiberfil.sys|IO.SYS|MSDOS.SYS|pagefile.sys|swapfile.sys|ANG0
To see the attached files, you need to log into the forum.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Access Control for files, and more

Post by bdeshi »

Oh. My wish was more like blockign execution of those "DisallowedFiles" :)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Access Control for files, and more

Post by yusef88 »

sorry I confused between your topic and old wish about blocking files in "admin.ini"
http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=12793

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Access Control for files, and more

Post by bdeshi »

SammaySarkar wrote:Oh. My wish was more like blockign execution of those "DisallowedFiles" :)
good time for a bump. :whistle:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Access Control for files, and more

Post by SkyFrontier »

SammaySarkar wrote:admin.ini can only control access to certain locations but not files.
Therefore I propose two new keys in [AccessControl].

Code: Select all

[AccessControl]
AllowedFiles=xyplorer.exe|*.xys|E:\Games\*.exe
DisallowedFiles=cmd.exe|infection.vbs|E:\Secret\confidentialSatelliteImg.tif|*.mp3

Plus notice the additional wish for wildcard support in that section.
+1

While "Treat dot files as hidden" (for which I also expect scripting capabilities) acts as an "apply as you stumble upon", this would allow a more general, across-session feature.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66631
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Access Control for files, and more

Post by admin »

It's about opening/running/executing those files, right?

Well, dbl-click/Enter would be fairly easy to block, but the shell context menu? OK, I can hide the "Open" command, but there might be obscure stuff in that menu like "Play" and what not... :eh: So, I would have to completely suppress the context menu for those "disallowed files".

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Access Control for files, and more

Post by SkyFrontier »

While I see benefits of current behavior, to me the most effective Access Control is denying existence awareness to either files or folders.
As a CORPORATE user sees but is denied to access Win Explorer to break XY security measures*, on home usage that may be implemented with more difficulties.

Denying visibility via .ini can be more effective, therefore. What the eye don't see won't scratch the heart.

________________
* Not to mention group policies...
Last edited by SkyFrontier on 12 Aug 2015 21:30, edited 1 time in total.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66631
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Access Control for files, and more

Post by admin »

Hiding the stuff would be even easier since I wrote all that's needed today. Only your case with a full path (E:\Secret\confidentialSatelliteImg.tif) is not covered at the moment.

eil
Posts: 1888
Joined: 13 Jan 2011 19:44

Re: Access Control for files, and more

Post by eil »

admin wrote:So, I would have to completely suppress the context menu for those "disallowed files".
i think method is quite good as a solution.! and if Hide would be modified with <path> ability that will cover all similar wishes/situations.
Win 7 SP1 x64 100% 1366x768|1900x1080

Post Reply