I've wasted one day time on why we should manage the Flash Player settings online,the fucking advanced seetings on adobe website,and how to set it offline.
For the first question,I don't quite clear,as the security for that way is useless for hackers.But I got two ways to implement the second thought.
Before I put the ways out,you should know where the Flash Player's global settings store.As a result of detecting,I found it placed in
%userprofile%\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\settings.sol
now,one solution can be easily got ...
1.Right,directly edit the file settings.sol using a sol editor and there it is
http://www.alexisisaac.net/flash/articles/.sol-editor-local-shared-object--2.html
(recommended)
the content of seetings.sol:
For example:
I want to use my html-based FLV Player on local and I should add a trusted paths for that guy.Just right click the trustedPaths,add a Boolean item, edit the New Item's Name with path on the right corner,and select the Value as True(not necessary).Don't forget to save the changed file to take effect.
2.If you're familiar with ActionScript,you can manage the settings in Macromedia Flash 8.(complex,not recommended)
copy the settings.sol referred above to
%userprofile%\Application Data\Macromedia\Flash Player\#SharedObjects\xxxxxxxx\localhost\
(the xxxxxxxx of mine is 9AXG2K32.it must be different from yours.)
the root of the ShareObject while debugging on local.
Now,create a new Flash document,and open the actions panel(F9).I'll show you the steps to edit the settings.sol file with the follow example:
//"settings" is the file name
var i = 0;
list_prop(my_so.data);
function list_prop(object:Object) {
for (var prop in object) {
if (typeof (object[prop]) == "object") {
trace(mark_level(i)+prop);
i = i+1;
list_prop(object[prop]);
i = i-1;
} else {
trace(mark_level(i)+prop+":"+object[prop]);
}
}
function mark_level(i) {
for (j="_", k=0; k<i; k++) {
j = j+j;
}
return j;
}
}
//a function I created to list the properties of an object
/*you will get the follow info at output window after Ctrl+Enter
_domains
_trustedPaths
__F:\ :true
__E:\ :true
_allowThirdPartyLSOAccess :true
_crossdomainAlways :true
_crossdomainAllow :false
_autoUpdateLastCheck :1177681914609
_autoUpdateInterval :30
_autoUpdateDisabled :false
_windowlessDisable :false
_defaultalways :false
_defaultklimit :100
_defaultcamera :3L PC Camera
_defaultmicrophone :
_echosuppression :true
_gain :100
it is similar to the SOL Editor listed above
*/
my_so.data.trustedPaths["D:\\"]=true;
//example to add trustedPath
delete my_so.data.trustedPaths["F:\\"];
//example to delete trustedPath
my_so.flash()
//immediately write my_so to the settings.sol.
//not necessary,the change will be automatically saved after the debugging session over.
copy the settings.sol in
%userprofile%\Application Data\Macromedia\Flash Player\#SharedObjects\xxxxxxxx\localhost\
back to
%userprofile%\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\settings.sol
after all of the jobs Done!
