It is currently Fri Nov 22, 2019 5:27 am

All times are UTC - 8 hours [ DST ]


Forum rules


Please, keep discussions on topic and in the right forum. The start menu topics go into the Classic Start Menu forum, etc. This makes it easier for people to locate topics they are looking for.
If you get a satisfactory response to your question, please mark the topic as "solved". Click the green √ button in the bottom-right of the post.



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu Aug 25, 2016 2:01 am 
Offline

Joined: Thu Aug 25, 2016 1:20 am
Posts: 3
Hello folks,
I have some issues with shortcuts that should not be displayed in the startmenu.
I configured a redirected startmenu from Windows. The startmenu folder points to a share.
On that share we create folders with application shortcuts. Theses shortcuts are secured by permissions (the “users” group has been removed and there are either explicit user names or other groups for users).

E.g. a folder called MyApps
Inside there are 3 shortcuts
- UserGui.lnk
- AdminConsole.lnk
- Help.lnk
.
The users group has been removed from tha AdminConsol.lnk so that only members of the Administrator group can launch this application.
The Windows startmenu (no matter which version) does not display this shortcut when the user does not have the granted access to it.
The classic startmenu however, displays always the shortcuts. For a user with no access, it displays a white sheet icon with the shortcut name. As the user has no permission on the shortcut, he can not start the application, so it should not make sense to display it.
I wonder if there is an option to hide shortcuts for which users do not have read/execute permissions, like it is done automatically with the Windows Startmenu?
I did not find anything in the GPO settings.


Best Regards,
Pete



Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 25, 2016 6:49 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
I don't know how the Windows menu determines if you have no permissions to access the link. The Classic Shell menu simply shows the contents of the folder. How does the folder look in Explorer? What icon do you see there?


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 25, 2016 8:16 am 
Offline

Joined: Thu Aug 25, 2016 1:20 am
Posts: 3
Yes, in Windows Explorer the folder looks exactly the same as in the classic startmenu. You still see the blank icons, but you can not access them.
I think that the Windows menu checks the permission attributes. When there is no read permission for the user on the shortcut, it is simply not displayed in the menu.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 25, 2016 8:24 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
OK. I'll add this to the list of things to investigate. I don't know yet how to read the file permissions, or if it will add overhead to the performance of the start menu.


Top
 Profile  
Reply with quote  
PostPosted: Sun Aug 28, 2016 3:12 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5352
Interesting. This is something I didn't know about the Windows Start Menu either!

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and helped a little with Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 30, 2016 1:37 am 
Offline

Joined: Thu Aug 25, 2016 1:20 am
Posts: 3
I do not know the language in which the classic menu is programmed.
In C++ for example, you can do it by using the _fstat function and checking for the S_IREAD bit. This bit is set if the user has read permission on a file.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: MSN [Bot] and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.