Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Restrict DownloadLinks to a specific user #9
This PR adds functionality to create a DownloadLink for a specific user.
When creating a DownloadLink you can chain a
$link = DownloadLinkGenerator::disk('local')->filePath('files/lesson 1.mp4')->for(auth()->id())->generate();
Now only this user will be able to access the download.
Thanks for the package!
Hi, Thanks for your great idea.
I'm SO SORRY to tell you that I cannot merge this PR. There is a law in my country that we MUST NOT have any relationship with people from Israel or the Israel government.
I hope you understand this, and again thanks for your time.
Actually I hope it won't be forked to bypass this political restriction. Let the problem be until it escalates to GitHub's (Microsoft) management to find a proper way to deal with this.
I would've said "let it go up to the Iranian government" but I know this won't do anything.