How to disable the flash prompt for camera and microphone access? - apache-flex

how do i disable the flash prompt that comes for microphone and camera access.

You can't, this is a security issue.
I believe people can allow access to microphone and camera without a prompt, but they have to tick the right boxes in their Flash preferences

As a developer, I think you can't, especially for security reasons. If you could do it, that would mean someone could record you without you know anything about it.

There is a work around. However, you have to set it manually.
Go to https://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager06.html.
and add your website to always allow.And, restart the browser. That can be used for testing purpose.

Related

How can we close the opened Url through program?

I am using QDesktopServices::openUrl(url); to open a url.
How can I close that through user defined code?
You are opening your URL in a browser window, on which user code doesn't have any control.
So basically you cannot close the browser.
A workaround could be that you write a script and detect if a browser is opened on the system, if yes you can close the browser by terminating that process. But I do not recommend this method as it has many security and standard compliance issues on some platforms.
EDIT:
You do not need to create your own browser, just use Qt Webkit to render the opened URL within your own window.
I'm afraid I don't believe you can close a URL via Qt code, with QDesktopServices.
The user could have configured their operating system to open URLs with any number of different browsers, and I don't see how it would be practical for Qt to be coded to know how to close every different type of browser porgramatically, on every different platform they support.
Edit
An alternative is to put a browser widget into your application. Then you'll have control over that. Qt provides some pretty powerful tools for is. See the Qt WebKit documentation.

How do I integrate VoIP in my asp.net website?

How can I integrate Voice over IP into my asp.net website so that user's can speak to each other through the site?
Thanks!
Without extra software (plugins) I don't believe you can at the moment with any mainstream browser (you probably would not want your computer microphone available to your browser as default for security reasons also, although plugins tend to get around this by asking for permission to access the microphone and camera).
Note that it is a non-trivial exercise to make this work reliably due to the need to work around NATS and firewalls - Skype and the new Google Voice chat feature for example dedicate a lot of their effort to achieving this reliably. If you decide to use a plugin it would be worth checking it handles this well (along with general voice quality). See the link below for some background: http://en.wikipedia.org/wiki/Session_Traversal_Utilities_for_NAT.

Shut off windows sound using ASP.NET

How can I shut off the windows sound from an ASP.NET page.
Thanks.
Why on earth would a browser let you shut down the whole OS sound? Leave my sound alone!
Even if your on a desktop app, still, leave my sound alone!
The only way I can think of doing that would be through an unsecure plug-in or ActiveX control.
Also, doing so is just wrong in any case. Navigating to a web-page doesn't imply permission to change system-wide parameters.

3d engine with telnet access

Does anyone know of a open source 3d engine which can be operated via telnet?
What I'm looking for is scripting via a socket connection. To allow for world creation and/or camera movement.
Does anybody know of any that has this built in or very, very easy to add as a plugin or script?
The platform is not crucial.
Doesn't look like it. I'll just do it myself.
You can script Blender using Python; probably this allows to open a listening socket connection, too. It also has a 'game engine' mode just for rapid prototyping.
It shouldn't take you more than 10 minutes to add this to an engine, so it really doesn't matter which one you go for.

Web browser lock-down: How to?

I have an ASP.NET web application where a portion of it needs to run in a web browser as a public facing terminal.
Essentially it is used to capture anonymous user feedback (wizard control on a .aspx) in a commercial location such as a shop.
An administrator will login and prep the application for 'terminal' mode.
The terminal is a normal PC with keyboard and/or mouse like device.
I would like to prevent users from:
Viewing the browser menu's, pushing back button and/or entering a different URI in the URL and also disallow keyboard shortcuts from bypassing the intended looping functionality of the application that is running?
Which browser is best suited for its ability to disable functionality as mentioned? The app runs on IE/FF/Chrome/Opera/Safari.
HOW would one go about configuring the machine and/or browser so it is locked to prevent unauthorized/unintended use?
On a side note, I guess the web application session needs to have an unlimited timeout?
Thanks for your input!
EDITED: I am leaving the question as unanswered for now... I would like to see responses that highlight possible options for the other browsers as well.
You can run Internet Explorer in Kiosk mode.
Please see this MS KB article.
Simply put, start Internet Explorer with the -k argument
There seems to be some commercial products available also, like this.
Try How to use Kiosk Mode in Microsoft Internet Explorer
Also, there are many Kiosk tools to assist in locking down a machine. Example: http://www.thekioskstore.com/index.php/software/kiosk-lock-down
Firefox has at least two plugins (and possibly many more):
https://addons.mozilla.org/en-US/firefox/addon/1659
https://addons.mozilla.org/en-US/firefox/addon/509
It is also possible to lock down KDE and GNOME (GNOME at least has a built in tool), which you can also use to lock down the rest of the system. I suggest installing Ubuntu if the web app is running on another system.
If you have to use MS Windows, check out: http://www.microsoft.com/windows/products/winfamily/sharedaccess/seeit/internetcafe.mspx.
You can use an opensource Linux distribution designed for this very purpose, http://webconverger.com/

Resources