Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

granting access to an application

Status
Not open for further replies.

BitZero

Programmer
Mar 11, 2008
100
US
I have several applications on a server that are accessed by a number of people via Remote Desktop Connection. Currently, to give a user access to a particular application, I put a copy of a shortcut in that users desktop on the server. Is there a better way to do this? Is there a way to put the shortcut in All Users and restrict who can see it? Thanks
 
It depends on your network environment. Are you able to create groups and then add these people to the group. When they are added to the groups, you should have a startup script set to run on their systems upon them logging in. Then the script should store a shortcut or create a network drive for the user to access that file.
 
Thanks for the reply. We do have groups on our system. Could you give an example of what the code would look like in the startup script? I'm guessing it would look something like this, but I don't know the exact syntax:

Code:
if current-user is in group-1 then
    copy group-1-shortcut to current-user\desktop
else
    delete group-1-shortcut from current-user\desktop
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top