Implementing password protection for a pdf file involving react(frontend) and laravel(backend) -- 2

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.


onClick={() => {

navigate('/bil/pay/view/' + no_bil);


disabled={amount != 0}




className={`${amount != 0 ? classDisabled : classActive}`}

data-tip='Download document'



Навыки: Laravel, React.js, PostgreSQL

О клиенте:
( 0 отзыв(-а, -ов) ) Ranau, Malaysia

ID проекта: #36232992

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 Больше

$15 USD за 7 дней(-я)
(0 отзывов(-а))

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.

$12 USD за 1 день
(0 отзывов(-а))

As a full-stack software developer with two years of experience in web and mobile application development, I am confident that my skills and expertise can make a valuable contribution to your organization. I have a str Больше

$15 USD за 7 дней(-я)
(0 отзывов(-а))