Suljettu

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>

Taidot: Laravel, React.js, PostgreSQL

Tietoa asiakkaasta:
( 0 arvostelua ) Ranau, Malaysia

Projektin tunnus: #36233151

6 freelanceria on tarjonnut keskimäärin $19 tähän työhön

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 Lisää

$18 USD 7 päivässä
(10 arvostelua)
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 Lisää

$19 USD 7 päivässä
(0 arvostelua)
0.0