Đã Đóng

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.

<button

onClick={() => {

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

}}

disabled={amount != 0}

>

<FaFileDownload

size={20}

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

data-tip='Download document'

/>

</button>

Kĩ năng: Laravel, React.js, PostgreSQL

Về khách hàng:
( 0 nhận xét ) Ranau, Malaysia

ID dự án: #36232992

5 freelancer chào giá trung bình$14 cho công việc này

omemajawaid

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 Thêm

$15 USD trong 7 ngày
(0 Nhận xét)
1.8
yorkslopez

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 trong 1 ngày
(0 Nhận xét)
0.0
mjoel4708

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 Thêm

$15 USD trong 7 ngày
(0 Nhận xét)
0.0