Đã Đóng

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

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: #36233151

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

sapnathakur14

Hello, As you are looking for a PHP/Laravel expert developer for your project. I am a Laravel developer, having more than 7 years of experience in Laravel, and have developed many high-end projects using Laravel. Conv Thêm

$18 USD trong 7 ngày
(10 Nhận xét)
6.3
rajmalregar76

• Assist employee/customers walk-ins and answer phones assisting callers or directing to proper ares • Assist with housing incentive processing Enter candidate information into system for background checks and verify Thêm

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