Hiding ip camera credentials in source code - camera

I have embedded an IP camera feed on my company's public webpage using a VLC plugin. Part of the source code includes the username, password and ip address of the camera by using an RTSP feed. Is there a way to "hide" this code so users cannot just look at my source code and have the credentials to my ip camera?
Would it be possible for someone to hack into my IP camera using these credentials?

Related

Accessing customSD page on a Sonos One device

I am trying to develop a custom music service integration for Sonos.
I saw on their website that they mention a customSD page that can be accessed on the IP of the Sonos device. My problem is that when I cannot access the IP:1400/customsd.htm page. I double-checked that the IP is correct.
Is there something I'm missing in my setup? I see the allocated IP address in my router for the Sonos device.
Note:
The device is a Sonos One
I also tried running nmap on the IP of the device and the output is:
PORT STATE SERVICE
53/tcp open domain
Thanks

Secure my website from fake Users (Webcam)

I have a website a little bit like Chatroulette and I am using WebRTC so that the users can use their webcam to communicate which each other.
How can I prevent and check if a user is using a fake webcam software like ManyCam? Is that even possible to recognize a user with a fake webcam (or virtual webcam)?
Thanks.

how to access the web ip camera on the opentopia?

I am viewing an ip camera from http://www.opentopia.com/webcam/16031, I have two questions
1. how it is streaming through the web page on the opentopia website,
is it possible to access and record the stream of that camera through ffmpeg or some other software ?
This site uses an mjpeg, stream. any program that can do http requests can download it.

upload to onedrive from device / embedded system

want to upload files to onedrive from embedded Linux. No browser. So OAuth 2.0 authorization flow does not work - can't display the consent screen etc.
Google API has a device flow... But it's not available for google drive.
Is there similar flow (in the work) for onedrive? Any workaround for now?
Maybe you can get an access token from another device with a screen, like a smart phone, share this access token to the embedded Linux device, then it can upload the file to OneDrive, but you need to make sure the access token is valid in that period.

Facebook connect without Javascript in WiFi Hotspot

I am going to integrate the Facebook login access on my WiFi hotspot portal. Basically I would like the user to log on my portal using its Facebook credentials, in order to access the Internet via Hotspot.
The classical integration using connect-js via Javascript cannot work, since unauthenticated users cannot reach the Internet, and in this condition the browser cannot connect to Facebook.com.
Please, I would like to understand if there is a way, from my PHP portal, to send an HTTP post request to Facebook.com containing the users credentials. I just have made a test, but I have received the following response "For your security, never enter your Facebook password on sites not located on Facebook.com".
Thank you very much.
You need to manually-build-a-login-flow (relevant facebook documentation)
The below snippet is the crux of it however
https://www.facebook.com/v3.0/dialog/oauth?
client_id={app-id}
&redirect_uri={redirect-uri}
&state={state-param}