Prevent files and folder to access by login user only
- or -
Post a project like this1357
$30
- Posted:
- Proposals: 3
- Remote
- #2928932
- Awarded
Description
Experience Level: Entry
I have a wordpress website and laravel dashboard which are integrated.
So only the logged In user will access this files. and the login application is in laravel.
The website is on wordpress, ex - https://www.domain.com
laravel application is on - https://www.domain.com/user-account
the files are also in root folder - https://www.domain.com/folder1/folder2/folder3
So I need to restrict the folder1 access to only the login User.
If someone hit the url (https://www.domain.com/folder1/folder2/folder3) It will redirect it to the login page if the user is not Logged In
when the user is logged In then it will open the file.
and there is one more folder where all the pdf are exist it will also work same as the login user will access the pdf other wise it will redirect to the login page.
So only the logged In user will access this files. and the login application is in laravel.
The website is on wordpress, ex - https://www.domain.com
laravel application is on - https://www.domain.com/user-account
the files are also in root folder - https://www.domain.com/folder1/folder2/folder3
So I need to restrict the folder1 access to only the login User.
If someone hit the url (https://www.domain.com/folder1/folder2/folder3) It will redirect it to the login page if the user is not Logged In
when the user is logged In then it will open the file.
and there is one more folder where all the pdf are exist it will also work same as the login user will access the pdf other wise it will redirect to the login page.
Vipin S.
100% (1)Projects Completed
1
Freelancers worked with
1
Projects awarded
14%
Last project
21 Jul 2020
India
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies