Support the ongoing development of Laravel.io →
Security Validation Architecture
Last updated 2 years ago.
0

You have some choices from my suggest : First. If you choose to separate user upload folder, you must create folder when you run upload action. And when user logged in you just compare the username with your folder name. If same, the user can access it. If not, redirect it to error page.

Second. You create table that contains user and user file. So you can see which user that have which file.

Sorry for my bad English. Hope this help. ^^

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.