yasinatesim/instagram-media-downloader

Add password protect for bots

yasinatesim opened this issue · 3 comments

Add password protect for bots

so how do we get the admin password ?

Hey @kayloko,

There is a encrypt function in the project https://github.com/yasinatesim/instagram-fullsize-picture/blob/master/src/helpers/encrypt.ts

you can use below steps;

  1. create a new password for project.
console.log(encrypt('<YOUR-ADMIN-PASSWORD>'))

for example usage;
https://github.com/yasinatesim/instagram-fullsize-picture/blob/master/pages/_app.tsx#L22

  1. Copy your new password in the browser console

  2. Update your .env file

NEXT_PUBLIC_ADMIN_PASSWORD='<YOUR-ADMIN-PASSWORD>'

I had to impose a restriction because the app faced so so many requests

Hey @kayloko,

I removed admin password conditions in app.tsx because I fixed some bugs :) And I added session control system with Firebase - Fşrestore database. For your information