Simple Secure Web Page to Open Door (HTTP API)

  • Durum: Closed
  • Ödül: $140
  • Alınan Girdiler: 1
  • Kazanan: sampathperera

Yarışma Özeti

We have a Mobotix T25 that is used for access control of a door. We require a simple but secure web page to allow our staff to open the door after entering a Pin Code. I have attached an image outlining how the website should look.

The mobotix developer docs can be found here -> http://developer.mobotix.com/paks/help_cgi-remotecontrol.html -> Authentication is just basic HTTP auth.

===================
See image first. I have listed below the API Commands.
===================
I cannot currently find the variable to retrieve the door status. But you can write the code using this URL and printing OPEN if result is 1 and CLOSED if result is 2 -> https://<<CAMERA IP>>/control/rcontrol?action=gettext&message=$%28SEN.TIN.CELSIUS%29

The image can be retrieved from this location -> https://<<CAMERA IP>>/record/current.jpg

The door can be opened with this command -> https://<<CAMERA IP>>/control/rcontrol?action=customfunction&action=sigout&profile=~Door
===================

The PHP code should be commented and formatted correctly. All configuration details should be stored as variables (Camera IP, Camera Username, Camera Password, Valid Pin Codes)

The password entry field should use "<input type="tel" />" to ensure the number keypad opens on mobile devices. The characters should also be **** when entering.

The flow of the application should be

1. User visits web page and is presented with Pin Code screen
2. If user enters correct code they should be taken to the control screen. If user enters incorrect pin code they should be shown an error saying "INCORRECT PIN CODE"
3. Once on the Control screen they should see the current door status, see the current camera image and be presented with a button to open the door. Once the button has been pressed they should not be able to press it again for 2 seconds.

Unfortunately due to security configuration on our network I cannot provide direct access to the camera for testing. However given the API Documentation and that I have provided the correct URLs, this should not be an issue. I will also gladly test the application as many times as necessary while troubleshooting. All API requests are GET requests and the camera returns a response.

Note: This will be an internal application as I am aware that a 4 digit pin code could easily be brute forced.

If you have any questions, please let me know.

Aranan Beceriler

İşveren Geribildirimi

“Great guy to work with. Did exactly as requested.”

Profil Görüntüsü danieltaylor, Australia.

Bu yarışmadan başlıca girdiler

Daha Fazla Girdi Görüntüleyin

Genel Açıklama Panosu

  • fam85
    fam85
    • 6 yıl önce

    Hi, I saw your Contest lately , i glad to help you i saw you need to use pin number
    i prefer to use one time password which is used by google authentication
    i have full cleaned code which i worked with it you can see my last project in my profile but i need to chat with you to get more details

    • 6 yıl önce
    1. danieltaylor
      Yarışma Sahibi
      • 6 yıl önce

      As this is only accessible internally, we would prefer a simple 4 digit code that staff can enter.

      • 6 yıl önce
  • simik
    simik
    • 6 yıl önce

    4-digit pin code won't protect from much, even a simple bruteforce attack. Is this website intended for an internal network? From what kind of malicious attacks do you want to protect your door access interface?

    • 6 yıl önce
    1. danieltaylor
      Yarışma Sahibi
      • 6 yıl önce

      This page will only be accessible internally to our network so brute force isn't too much of an issue.

      • 6 yıl önce

Yarışmalara nasıl başlanır

  • Projenizi ilan edin

    Yarışmanızı İlan Edin Hızlı ve kolay

  • Tonlarca girdi alın

    Tonlarca Girdi Alın Bütün dünyadan

  • En iyi girdiyi seçin

    En iyi girdiyi seçin Dosyaları indirin - Kolay!

Şimdi bir Yarışma İlan Et ya da Bugün Bize Katılın!