1

i'm planning a school project that should represent a two-factor authentication. I already made a user interface to type in information to log in like email address and password.

My plan was to encrypt the information, send it to the RPi, decrypt it and compare it to a database where every information of different users is saved. After that the RPi should send an email to the user with a verification code.

My problem is that i'm at school when i present it and my RPi is at home. Whats the best way to send my information to the RPi in my case?

I only have one RPi so it all should work on only one RPi. Also im only good at Java and never dealt with syntax of other programming languages.

Thank you in advance for your help.

  • Will your teacher let you take the Pi to school with you for the demo? Can you attach it to a wired port since schools often lock down wireless? (It is possible to "open up a port" on your home router, but that can be very dangerous, and I recommend against it.) – Bob Brown Jan 27 at 19:56
  • I guess he would let me do so, but i think it isnt that complex when my pc and the RPi are in the same LAN, is it? – noahkln_ Jan 27 at 20:00
  • How complex it is depends on what you're doing. Get it working at home, then take the whole thing to school. – Bob Brown Jan 27 at 20:02
  • Do you have any advice how to setup this whole server thing? So that i can send email, save information in a database and manage communication with clients all with the same RPi? – noahkln_ Jan 27 at 20:05
  • 1
    At the risk of getting in trouble for continuing with this, you can run Apache3, MariaDB, and PHP on your Pi. That will get you a web server interface, database, and PHP as a "glue" language. You'll need to add email, which won't be hard with PHP. Concerning encrypting passwords, read this, and don't forget to credit your source: crackstation.net/hashing-security.htm – Bob Brown Jan 27 at 20:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.