Implementing password protection for a pdf file involving react(frontend) and laravel(backend) -- 2
Бюджет $12-18 USD
Job Description:
For the context, when I click a button, a pdf file will be displayed on the screen. I want to add a password protection for the pdf file such that when the user downloaded the pdf file and want to open it, it require a password. Right now, the interface in the frontend use React and the backend is Laravel. Thus, the database is stored in laravel(postgres). Below are part of the code used in frontend.
What I have tried is trying to locate where the 'bil/pay/view' in the below code is located using ctrl + T but it's not in the frontend(react) folder. I tried going into the backend and use the same method but still I couldn't find where 'bil/pay/view' is. What I know is that if I could locate the url page, I can go to the controller in laravel and set the logic for the password protection code. Is this right ? Please help.
<button
onClick={() => {
navigate('/bil/pay/view/' + no_bil);
}}
disabled={amount != 0}
>
<FaFileDownload
size={20}
className={`${amount != 0 ? classDisabled : classActive}`}
data-tip='Download document'
/>
</button>
5 фрилансеров(-а) готовы выполнить эту работу в среднем за $14
Hello there I'm sure I can complete this project for you flawlessly because I read your job description. I still have some inquiries. Please send a note on my chat so that we may talk about the project's budget and tim Больше
I can do this job in like 2 hours, i got large experience as Laravel and React Developer. I've worked on goverment projects and multiple freelance applications.