Secret QR Code - Only read by my own scanner app - ios

I am working on a social app like Instagram, Snap Chat, and Facebook. I need to generate a QR code of user profiles. I have hidden user ids from the database. I have a scanner in my app to scan the QR code. The functionality is working fine.
But when my generated QR codes are read by other scanner apps, like the iOS default scanner, it reads the user id (string, text) from the QR code.
I have used Swift default code for QR code generation.
QR code read only by my app.
Like Snap Chat, Messenger, etc.

Have a look at this article
How is Snapchat QR code so different than others?
Snapchat and other apps have designed their own methods to create and read a QR code. Snapchat uses its own processing techniques to detect a series of dots to scan the code. It uses the snapchat logo for reference in the image to know where exactly to start the scanning. I am pretty sure Facebook and other apps are doing something similar.
You can maybe look at something that Instagram is doing. They use Text Detection to read a users name tag. You can look into this article for the same.
Text Detection Article
As far as i know there is no direct way that you can achieve this. You will have to essentially re-invent the wheel and come up with your own way to generate and read a code that is specific to your app.
Another approach would be to use an encryption algorithm to encrypt and decrypt your message and then using the QR code generator to generate a QR code of the encrypted message.

Related

I want to generate QR Code encrypted in such a way that it is only read by own QRScanner app

I am making a social app. I want to generate QRCode for each user profile that he can share with others. QR Code has user image in centre with his total number of posts. Using some libraries I am able to generate the QR.
But that code can be read by any QR Scanner. I don't want this to happen.
I only want my QR Scanner to scan these userprofile QR's
A QR code simply contains whatever text / string put in it. You're free to encrypt the content string prior to generating the code (and decrypt it after reading the code). Other applications will not be able to decrypt the code. You may want to do the encryption/decryption on your server instead of relying on code/keys on the device, for security purposes.

How can I know if my Swift QR Code being scanned

In my Project,I am building a QR Code Generator with Core Image Filters.
How can I know if other people had scan my QR code?
In other words, If I Generate a QR Code and after you read my Code. Can I show a message in my phone to told me that my Code has been used?
A QR code can't preform an action it can only display data stored in it. I you you intend to have a QR read in your app then with in your app you could program a function to handle an event of some kind that would trigger on reading the QR code.
If you are just creating the QR code and disributing the QR code and you have pointing to a web link. Then you could create some trigger on your website that would send you a message if someone followed the link. And the key word is that the user has to FOLLOW the link provided.

How to secure a verification system on iPads with QR Codes

I have created an iPad application that uses QR Codes for verification. In order to "verify" the document a person must scan an official QR Code. I am worried about the people taking a picture of the QR code and then creating other copies of it. Is there anyway to secure this process? Maybe encrypt the text in the QR Codes? Except that still wouldnt do anything if the person was to create a new one. Any ideas?
More clarification: It is an app that allows students to create hallpasses digitally which are then digitally "signed" or verified by the teacher by scanning a QR Code on the teachers ID. Hopefully the students would be unable to capture the QR Code on the ID but I am trying to add an extra layer of security in case this was to happen. Is this possible?

QR code to open link that asks to take a picture?

I'm making a quest (for iPads) and would like to use QR codes that users have to scan and then do certain tasks: The user scans the QR code, which links to a text that asks them to take a picture of a certain object and a button that opens up the camera, once the picture is taken it is saved. I was thinking of a blog, where images can get uploaded once they are taken, but they could as well be stored on the iPad. I haven't found a solution using blogs, as taking an image can't be prompted, any idea how it could be done?
Thanks
Not really possible with a web app. You could have the link in your QR code point to your native app’s custom URL scheme, as in myapp://whatever, and then both get and upload the photo through that app, but what you’re trying to do isn’t possible through Safari.

What is this image that Google code provides?

Google Code provides a barcode like this:
When you download software. What is its purpose (I assume it is related to the SHA1 checksum, but if so, how is it used)?
Edit: Now that I know its name, I found this article. Thanks!
This is a QR code, frequently used for entering URLs into mobile phones. It can be helpful if someone posts software that could be installed, say, on an Android phone; instead of manually entering the URL on the phone keyboard, you can just use an app like Barcode Scanner from the open source ZXing project to easily scan it in.
If you're not trying to download something directly onto your phone, it's probably not all that useful.
It's a QR code and encodes a small amount of data - typically a URL. You can scan them for example using a phone and then visit the URL.
[Update: it's a URL for downloading msysGit.]
It's a 2-Dimensional Barcode. There's software out there that can scan it.

Resources