为什么我不能在Java中的另一个位置加密文件 [英] Why i cant encrypt file in another location in java

查看:79
本文介绍了为什么我不能在Java中的另一个位置加密文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用swings在Java中创建了一个项目,其中我遇到了问题:-
项目中的一项功能是加密文件,并在加密后将其保存到另一个文件中,但是我的项目不允许我将文件保存在任何磁盘中,而不是桌面中.......
保存时显示错误

I made a project in java using swings,in which i am facing problems:-
one of the feature in the project is to encrypt the file and save it in another file after encryption but my project doesn''t allow me to save the file in any disk rather than the desktop.......
it says error while saving

推荐答案

您无权保​​存在其他位置.

默认策略实施和策略文件语法 [
You do not have the right to save in other locations.

Default Policy Implementation and Policy File Syntax[^]

Read it.


这篇关于为什么我不能在Java中的另一个位置加密文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆