Şöyle bir mantık izlenebilir ajax ile php dosyasına soru cevabı gönderilir eğer cevap doğru ise ona göre download linki çıkabilir