How can I launch a program from a Web Page? - browser

I simply want to OPEN a program in my pc from a web page. For example, I am out and I take my smartphone, I go to the web page and then I click in a button and in my pc (at home, connected to internet) the program starts. How can I do that?
I tried: Open File
but the browsers (Firefox, Internet Explorer) try to download this file and not open.

Web browsers are incapable of running files on a remote machine, purely out of security reasons, because it could obviously do serious harm. This is only doable if you try to run a file on the machine you are using to visit the website with. There are applications available that can open files on or from a remote machine, but they tend to use a TCP or UDP connection to transfer the data, instead of an HTTP connection.
The best way to go about this, is to install a server application on your PC, and then connect to the PC with a client application on your smartphone.
Just search google for Remote control smartphone pc, or something similar.

You cannot do this using a web page. You must use a VNC. There are many open source versions with mobile client apps.

Related

Publish webpage using IIS

I am trying to create a webpage that will be available for my team members. From my personal laptop.
Today i created a basic page using following tutorial.
https://www.interserver.net/tips/kb/how-to-create-website-in-iis/
But when i tried to open the page from another pc...
It didnt work.
I have added port 80 in firewall setting.
When i tried to open using my mobile.it worked. Because my laptop is connected to mobile hotspot.
But showing error as site cant be reach on outside devices.
Please help me.
Do i need to do port forwarding??? If yes then how can i do it on mobile?
As right now i can use only mobile hotspot
.
Pc OS : windows 10.
I have enabled IIS using windows feature
Is it necessary to install windows server? To be able to publish page to outside user?
It is unnecessary to install windows server to host websites. IIS also works in Windows Client OS.
If your mobile could access the website correctly, there are might be something wrong with network connectivity causing the failure of accessing the webpage from other PC. We should ensure that the other PC is in the same network with the webserver(your laptop), just like the network of your mobile.
I advise other PC to join the mobile hotspot too. Following shutting the firewall and access the website by using the IP address again.
Considering the Ping tool to troubleshoot the network issue.
https://www.hellotech.com/guide/for/how-to-do-a-ping-test-windows-10
Feel free to let me know if there is anything I can help with.

How to allow Google Chrome to access your microphone forever on local server?

I've created my LocalHost using Node.js to test and debug my javascript project.
I'm Using Chrome.
On HTTPS server I need to click allow using mic just the first time, but in my localhost, I need to click on allow pup op each time my project calls microphone.
How do I allow access to my microphone on my localhost once?
If there is not a way to achieve that do you know any free https hosting fo testing purposes...
You need a secure connection in order for Chrome to remember your permission preference. You should be able to create a self-signed cert (the instructions differ based on the OS) so that you can actually visit localhost securely, once you've done that your microphone will be accessible between page loads.

Accessing remote browser from local browser

I want to test a publicly available web application on a particular set of browser and OS (say, Firefox and Mac); the infrastructure team has provisioned for me a remote VM with these requirements.
The help I need from the community is that how can I access that remote Firefox instance from my local, say, Chrome browser instance.I want to launch the web application from remote Firefox's address bar. I don't want to have full access of the remote VM something which a solution like TeamViewer provides; just that remote browser.
I looked around for solutions and WebRTC cameup; however, according to my understanding I would only be able to view(read-only) whats going on in the remote browser, but I also need control on the remote browser so that I can launch web app from it, click a few buttons on the web app here and there etc.
Let me know if I have missed on any information, I would be more than happy for provide.

Remote control a Chrome Extension

I've written a non-published (personal) Chrome extension that performs page checking and then performs actions such as opening new tabs if certain conditions are met. I would like to be able to "remote control" it from my phone though, e.g. turn on or off or adjust settings when I'm away from my desk.
I considered if the extension can read/write to a file in Dropbox, which I could then edit from my phone too, or any other device. But I'm not sure if extensions are allowed to arbitrarily read/write in the filesystem, or only "apps". Any other suggestions?
Assuming you can't directly connect to your computer (otherwise wOxxOm's answer is valid)..
You could make a companion phone app and use GCM push messages; your phone would message your server via it (which can be hosted on a free App Engine tier easily if it's just for your private use) and the server will push out the message.
Though it'll probably be much easier to just have said App Engine server up and providing a WebSocket endpoint that your extension can connect to to receive commands in real-time, and some sort of API / control panel on the web (authenticated, of course).
Any free webserver-based solution would lag, as bad as 500ms, I think.
Try making a complementary native PC program: mobile apps for remote control usually have their PC part running as a background service or an application with just a shelltray icon. Such program opens a TCP/UDP port on PC and listens for commands from the mobile app, and can communicate with your extension via Chrome's native messaging API.

Where is the FTP support for Google Chrome and Internet Explorer 8?

I tried to upload files via FTP but ran into problems. Are modern day browsers no longer supporting FTP "write" capability? I managed to use Dreamweaver to FTP the files successfully.
I can't find anything anywhere about FTP uploading in Internet Explorer past version 6. My guess is that they are limiting support for it (standard FTP) due to its lack of security.
Tons of sites still link to downloads on FTP servers, so we will continue to see browsers support FTP downloads for a long time. As for uploading, the trend seems to be that you should have a dedicated client now, which makes the security concerns less transparent. I second the FileZilla recommendation.
Maybe someday we'll see FTPS support in browsers.
Update: I tried FTP Upload with IE8. It displayed a hyperlinked list of files, but had this message at the top: "To view this FTP site in Windows Explorer, click Page, and then click Open FTP Site in Windows Explorer." I followed those instructions and I was able to upload and download in Windows Explorer. I guess that is how it works now, whereas IE 6 had it integrated.
It sounds like a problem with whatever web interface is provided by the server. Try a dedicated FTP client like Filezilla.

Resources