Questions tagged [securityexception]

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

329 questions
1
vote
0 answers

Android - java.lang.SecurityException in android.os.Parcel.readException

I have been working on location based Android application.Also I have taken care of run time dangerous location permissions. It works great while testing the various devices from 4.0 to 8.0. I have no other dangerous permissions. If the exception is…
1
vote
3 answers

SecurityException while checking if fingerprints are enrolled in Samsung Phones

I am using a lockscreen with fingerprint in my app. While it works seamlessly with other phones having fingerprint sensor, samsung users are facing some SecurityException as I can see in my google console reports.Here is the…
1
vote
1 answer

Security Exception for ContentProvider.notifyChange on my own URI in Oreo

This one has been asked before - but never answered. So I try my luck again. My app is a perfect clone of Google's IO Schedule app in terms of synchronization - I use exactly their code at this position. When running against SDK 25 everything works…
Zordid
  • 10,451
  • 11
  • 42
  • 58
1
vote
3 answers

SecurityException: opening provider that is not exported from uid

I have an app which is not on Play Store. I was earlier able to start the app installer by the following code: In Activity: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(new…
1
vote
0 answers

Play (2.6) SecurityException Hibernate Validator

I'am using play framework 2.6.7 in combination with akka. For field validation i use hibernate validator. I do have issues using hibernate validator When I call validator.validate(..) i do get a setContextClassloader SecurityException (see below).…
1
vote
1 answer

c# reading csv file System.Security.SecurityException

I need to read a csv file in my webservice, here is my code so far : [WebMethod] public List getIdentifiants() { List listA = new List(); List listB = new List(); using (var fs…
Kurapika
  • 25
  • 1
  • 10
1
vote
2 answers

java.lang.SecurityException: Permission Denial: starting Intent {act=android.settings.USAGE_ACCESS_SETTINGS}

I get java.lang.SecurityException when try to startActivityForResult(intent, requestCode); with final Intent intent = new Intent(Settings.ACTION_USAGE_ACCESS_SETTINGS); intent. Interesting that this crash happens only on Huawei with Android 5.1 -…
1
vote
0 answers

System.Security.SecurityException with NetFx40_LegacySecurityPolicy enabled

Trying to create a simple C# console application that interacts with both the EPPlus excel read/write library along with another third-party vendor application my company uses. The challenge I'm facing is that the other third-party application…
lsargent
  • 39
  • 3
1
vote
2 answers

SecurityError when calling a HTTPS-WCF Service from Silverlight 4

I have created a simple WCF-Service which I want to be accessible via https. The WCF-Service uses a UserNamePasswordValidator, customBinding and UserNameOverTransport as authentication mode. I run it in the IIS7.5 where I have created a self-signed…
Aaginor
  • 4,516
  • 11
  • 51
  • 75
1
vote
1 answer

Sharing video + text with FileProvider causes Permission Denial exception

i have Permission Denial while sharing a video .mp4 file with file provider and Intent.EXTRA_TEXT . if i remove the line: shareIntent.putExtra(Intent.EXTRA_TEXT, "#myappHashtag"); everything works. But i need both video file + extra text. i think…
1
vote
2 answers

CommunicationException with Silverlight and WCF Service

I have a Silverlight 4 app that is hosted in an ASP Azure web role. The web role exposes a WCF service. (All this is in the same Visual Studio solution.) I successfully added a reference to the service, and generated client code. However, it causes…
Nick Heiner
  • 119,074
  • 188
  • 476
  • 699
1
vote
0 answers

Tizen Gear S: SecurityError: DOM Exception 18 - Websockets

I am using Websockets to implement the MQTT protocoll in Tizen on a Samsung Gear S. While everything works fine in the IDE emulator I always get an SecurityError: DOM Exception 18 when running it on the watch. Access origin is set:
user2737950
  • 207
  • 1
  • 2
  • 10
1
vote
1 answer

Intent recieved from action send generates SecurityException on URI

I'm trying to accept images with my app to send them to a server. Setting up the intent filter was easy enough and that works like a charm. The thing i can't seem to figure out is the way i need to retrieve the file path from the uri in the…
SjoerdvGestel
  • 391
  • 2
  • 14
1
vote
1 answer

Unhandled SecurityException trying to Start example web service

I built the very simple Windows service and installer outlined in this article: https://msdn.microsoft.com/en-us/library/aa984464%28v=vs.71%29.aspx It seems to have built and installed fine, but when I try to start the service I get an unhandled…
Mike
  • 417
  • 7
  • 28
1
vote
0 answers

Android application signed with same key store using same authenticator crashes due to SecurityException : caller UID is different from authenticator

Its strange that app crashes in specific few devices and app signed with same key store with "shareUid tag" shares data seamlessly but how could this crash occurs mostly in 5.1.1 and 4.4.2 os version of android. Note: accountType is same and there…
JerryWild
  • 11
  • 2