alidi
164
6
Laravel

check if the user own the file before show it

Posted 6 months ago by alidi

Hi I trying to make a middleware that shows the file for who only have the privilege to show it

I mean that is the user upload file, he only can show the file, if he sends the link for anyone else the file will not open

is anyone can help me by giving me the idea for do it?

thank you

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.