BefittingTheorem
BefittingTheorem

Reputation: 10629

Flash camera access without security question

Is it possible to access a machines web camera with Flash without needing the users permission?

The project I plan on using Flash in will not be web based and run in a standard flash projector or in a swfStudio projector.

Upvotes: 2

Views: 1285

Answers (3)

BefittingTheorem
BefittingTheorem

Reputation: 10629

If you have control over the machine you are deploying to, you can use the Flash Settings Manager to always allow camera access.

Upvotes: 0

Andy Li
Andy Li

Reputation: 6023

Why don't you use AIR? In AIR you can access the camera and no message will be displayed.

Upvotes: 0

Rohan Prabhu
Rohan Prabhu

Reputation: 7302

No. It is not. This is similar to the question "Is it possible to save files on a user's hard disk using JavaScript". It just might be possible, but then it's a hack. It won't work forever [if you ever find a way to do so] because it's simply not supported. And it's not supported for a reason: security. It isn't something like an inavailability of technology, so there is no reason it will ever be available in the future.

P.S: For JavaScript, HTML5 does have the option of saving files on the user's hard disk, but again, not without permissions [i'm not taking into account cookies here]

Upvotes: 4

Related Questions