Questions tagged [securityexception]

SecurityException indicates a security violation and is thrown when a security error is detected.

329 questions
8
votes
3 answers

Android In App Billing SecurityException "Binder invocation to an incorrect interface"

I am trying to get the google In App Billing services to work. I've got so far that the service is bound and connected, but once I try to fetch some data from the service it crashes with the log: 04-02 10:36:32.795 10569-10651/my.app.package…
McFarlane
  • 1,777
  • 2
  • 22
  • 39
7
votes
0 answers

SecurityException: Unsupported path /storage/emulated/999/Download/somefile.pdf

I am trying to download some .pdf file from the server to download folder This exception is thrown randomly on some device Xiomi running android (8,7,6) : 97% crashes only in this device Storage runtime permission have been given and it works What…
karthik kolanji
  • 2,044
  • 5
  • 20
  • 56
7
votes
2 answers

Android reading external storage gives securityException

I am trying to get the music files in the device. here is what i do: public ArrayList getAllSongsFromSDCARD() { allTracks = new ArrayList(); String[] STAR = { "*" }; Uri allsongsuri =…
yrazlik
  • 10,411
  • 33
  • 99
  • 165
7
votes
1 answer

Avoid SecurityException when accessing DownloadProvider

I have an activity that has the intent filter android.intent.action.SEND with picture mime types. Once the user shares the picture (specifically from the downloads manager) with my activity (UploadActivity), the activity will check if the user is…
ademers
  • 967
  • 3
  • 15
  • 24
7
votes
1 answer

Android: securityException: "destination must be on external storage"

I've searched thoroughly the web to find an answer, but with no result. I've implemented some "preferences" in my Android app, including the ability to save files in any location you want. If I choose a path on the so-called "integrated sdcard",…
dentex
  • 3,223
  • 4
  • 28
  • 47
7
votes
5 answers

Java 7u4 webstart security exception: Class does not match trust level

We began to notice that with Java 7 (particularly with update 4), that all our users began to see this with our Webstart app: [14:42:58,422] AWT-EventQueue-0(DEBUG) java.lang.SecurityException: class "CLASSNAME" does not match trust level of other…
Glstunna
  • 1,993
  • 3
  • 18
  • 27
6
votes
1 answer

SecurityException when loading an app with a WCF behaviorExtension in the app.config over the network

I have an .NET 4 .exe (Winform Desktop app) to which I have added a WCF behaviorExtension. The app loads fine on the local machine, but throws a SecurityException when loaded across the network. If I omit the setMaxFaultSizeBehavior…
MarkGr
  • 1,048
  • 11
  • 13
6
votes
2 answers

java.lang.SecurityException on takePersistableUriPermission() (SAF)

I'm using the Storage Access Framework to get write access on the sd-card (API >= 21). It works fine on most devices, but some like the Galaxy S7 (Edge, API 23) throw an SecurityException when calling takePersistableUriPermission(). Caused by:…
Farasy
  • 304
  • 2
  • 8
6
votes
2 answers

Are applets dead?

A long time ago I made an applet, when I tried to a open it few days ago in website and it says that there is a security problem and it can not open it. I Googled it and saw that I need to register it. I tried to register it but nothing helped. Can…
user2635439
6
votes
2 answers

Java JCE cannot authenticate provider BC in jarsplice created jar

I am working on a game and I am using the Slick2D library. I am also using bouncycastle for encryption. Then I use jarsplice to package everything together in a nice executable. And it runs fine until it needs to encrypt something. It gives me a…
Spencer H
  • 450
  • 1
  • 6
  • 17
6
votes
3 answers

Unexpected Flash Security Exception When Using URLLoader

What I am trying to accomplish is to upload some binary data, specifically a ByteArray representing a PNG image, to a server using the URLLoader class in conjunction with URLRequest. When I set the contentType property of the URLRequest to…
Cameron
  • 96,106
  • 25
  • 196
  • 225
6
votes
1 answer

Using Zxing Barcode scanner causes SecurityException

I use Zxing Barcode Scanner in my app via launching an Intent so that I can scan a barcode and get the data back to my app. Very basic stuff; it has worked for a long time no problem. I recently got an error report through Play with the following…
koopaking3
  • 3,375
  • 2
  • 25
  • 36
5
votes
1 answer

android.speech.RecognitionService SecurityException with some 3rd-party speech recognizers

We created an Android app which uses Google speech recognizer and we choose first ,in program, Google speech recognizer to use. Most devices work fine, and only few devices(MEIZU_M5, U78-E, Apollo Lite etc.) report below exceptions. It seems some…
5
votes
1 answer

SecurityException was unhandled when using isolated storage

When using this code I get the above error: var userSettings = new UserSettings() { Username = TextBox_Username.ToString(), Password = TextBox_Password.ToString(), Operator = OperatorList.O2 …
deanvmc
  • 5,957
  • 6
  • 38
  • 68
5
votes
2 answers

Silverlight SecurityException

I'm POSTing data to a server and successfully execute BeginGetRequestStream, then EndGetRequestStream, write my POST data to the fill the RequestStream, and call BeginGetResponse. BeginGetResponse successfully returns and I then call: Dim response…
Graeme
  • 789
  • 6
  • 13
  • 33
1 2
3
21 22