我正在写java小程序录音机,所以它需要有录音权限,还需要有文件访问权限(用于在mp3转换过程中存储tmp文件)。这是一个将在数百台机器上运行的 Intranet 应用程序,所以我想知道是否可以在不修改策略文件和授予每台机器的权限的情况下实现这一目标。
问问题
681 次
1 回答
1
..so I wonder if it is possible to achieve that without modifying policy file and granting permissions on each machine.
Sure. Digitally sign the code using a valid code signing certificate, and get the user to tick the 'always allow' check box when launching the app.
Unless you mean 'without digitally signing the code'. Then - no, it isn't.
于 2014-10-01T08:35:00.560 回答