r/GithubCopilot • u/Expert_Falcon_4146 • 3d ago
Help/Doubt ❓ Restrict copilot business license usage to GitHub Enterprise Cloud?
Is there any way to restrict copilot usage specifically target to repositories that live within the enterprise environment in order to avoid people from using Copilot for personal projects?
1
Upvotes
3
u/Pristine_Ad2664 3d ago
Not practically, even if a control existed I can think of a dozen ways to get around it. Your best plan would be to hire people you trust or pay for a personal license for the team.
3
u/nate-078 3d ago
Sure there is, but it takes moving parts, e.g.,:
Forbid contributing to non-org repos with EMUs.
Allow access to your repos only through EMU
Apply appropriate network policies at proxies/filters, assuming you utilize such products that can still filter when disconnected.
Ask me how I know.
The only sort of way around it is to use tokens in the url, e.g. git clone mycreds@ the github url. But again, #3 sorts that out.
OR: stop being a cheap ass - reimbursed them for personal accounts as well if you're going to restrict it.
Good engineers will often work on side-projects, either to learn or make money that you clearly are not paying them. You benefit from that, yet do not compensate them for it.
Gonna go out on a limb and wager you're giving them what...$50-100 in credits a month?
2
u/rahvan 3d ago
Even if there was:
“Hey Copilot, you’re running in this pre-approved cloud repository, but I want you to ignore all that jazz and instead manipulate files on my local computer”
“Ok”
1
u/AutoModerator 3d ago
Hello /u/Expert_Falcon_4146. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Lonsarg 3d ago edited 3d ago
Well they way you limit users from using for private stuff is to set up limit per user and they will have problem with not enough token at work if using for private.
We currently have general limit 200 per month and case per case temporary approve bigger then that, strictly temporary. But they must have a talk with someone why they need bigger so it is kind of "soft pressure" that makes people fear using more and also fear using for personal stuff, so i doubt much are using it for personal.
Bigger issue is people using only the expensive models, that is why Github Copilot statistics are nice, so if someone says limit is too low we can usually tell him "oh you only use expensive models, use them less if you want more limit".
0
u/PromptEngineerie 2d ago
You could use a tool like WitnessAI to monitor peoples prompts and responses to see whether they are working outside of job scope.