<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Srikar Reddy on Medium]]></title>
        <description><![CDATA[Stories by Srikar Reddy on Medium]]></description>
        <link>https://medium.com/@gsrikar?source=rss-d9da81681198------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Srikar Reddy on Medium</title>
            <link>https://medium.com/@gsrikar?source=rss-d9da81681198------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 14:53:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gsrikar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Device Connect Android SDK Integration]]></title>
            <link>https://medium.com/finbox/device-connect-android-sdk-integration-a96e18defe40?source=rss-d9da81681198------2</link>
            <guid isPermaLink="false">https://medium.com/p/a96e18defe40</guid>
            <category><![CDATA[connect-device]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[creditworthiness]]></category>
            <category><![CDATA[finbox]]></category>
            <category><![CDATA[risk-management]]></category>
            <dc:creator><![CDATA[Srikar Reddy]]></dc:creator>
            <pubDate>Thu, 09 Jul 2020 05:04:33 GMT</pubDate>
            <atom:updated>2020-07-24T05:43:21.530Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*efAYzCgXP6oZvnrSBUoJkw.jpeg" /></figure><h4>Simple and fast integration of Device Connect Android SDK</h4><p><a href="https://docs.finbox.in/device-connect/android.html">Device Connect Android SDK</a> is used to collect anonymized non-personal data from the user&#39;s device upon explicit consent. The rich data collected is used to understand the user&#39;s credit profile which helps the clients make decisions on lending amounts and tenures.</p><p>You should have received the necessary secret keys from the business team which are essential to start the integration of the SDK. If not then request the details before continuing.</p><p>Add the shared AWS access and secret keys to local.properties to make sure the keys aren’t leaked through Git commits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*o1p7HTDBGKGlEDZP_ULZeQ.png" /></figure><p>Open the project level build.gradle file and navigate to the repositories section inside allprojects block where we need to add the maven repository URL and the AWS keys.</p><pre>maven {<br>    url gradleProperties.getProperty(&#39;AWS_REPO_URL&#39;)<br>    credentials(AwsCredentials) {<br>        accessKey = gradleProperties.getProperty(&#39;AWS_ACCESS_KEY&#39;)<br>        secretKey = gradleProperties.getProperty(&#39;AWS_SECRET_KEY&#39;)<br>    }<br>}</pre><p>The variable named gradleProperties is defined outside the allprojects block. Create an instance of Properties and pass the local.properties file as an InputStream to the load function.</p><pre>Properties gradleProperties = new Properties()<br>gradleProperties.load(new FileInputStream(project.rootProject.file(&#39;local.properties&#39;)))</pre><p>In case you are using Gradle’s Kotlin DSL, the syntax will change a bit.</p><pre>maven {<br>    setUrl(gradleProperties.getProperty(&#39;AWS_REPO_URL&#39;))<br>    credentials(AwsCredentials::class) {<br>        accessKey = gradleProperties.getProperty(&quot;AWS_ACCESS_KEY&quot;)<br>        secretKey = gradleProperties.getProperty(&quot;AWS_SECRET_KEY&quot;)<br>    }<br>}</pre><p>Similarly, create an instance and load the local.properties file using Kotlin.</p><pre>val gradleProperties = Properties()<br>gradleProperties.load(FileInputStream(project.rootProject.file(&quot;local.properties&quot;)))</pre><p>Add the dependency to the module level build.gradle file and trigger the Gradle syncs to download the Device Connect Android library .aar file. Set transitive to true so that the transitive dependencies are downloaded.</p><pre>implementation(&#39;in.finbox:mobileriskmanager:2.8:parent-release@aar&#39;) {<br>    transitive = true<br>}</pre><p>In case of the module level build.gradle.kts file, try</p><pre>implementation(&quot;in.finbox:mobileriskmanager:2.8:parent-release@aar&quot;) {<br>    isTransitive = true<br>}</pre><p>If the dependencies fail to sync,</p><ol><li>Check whether available access keys and secret keys are the latest.</li><li>Disable offline mode option in Android Studio if enabled.</li><li>Check if your company’s network isn’t blocking the outgoing requests.</li><li>Check the internet connectivity.</li></ol><p>If the above solutions fail to resolve the issue, reach out to us.</p><p>The permissions are automatically added to your app’s AndroidManifest.xml file if Manifest Merger is enabled. In case if the Manifest Merger is disabled, add the <a href="https://docs.finbox.in/device-connect/android.html#handle-permissions">supported permissions</a> manually. Request the necessary dangerous permissions during Runtime.</p><p>The below chart shows a simple workflow that is followed by the clients while integrating the Device Connect Android SDK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hzc-opWVIIl2WxicKerqlQ.png" /><figcaption>Typical Integration Flow</figcaption></figure><p>Once the permissions are granted, call the createUser method with API key, customer id along with the callbacks as parameters to create the user.</p><p>The customer id is a unique identifier generated by the client and is used to request the processed data.</p><p>Read the API key from the C++ layer to make it harder for hackers to reverse engineer. If your company uses another secure way, continue to use it. Just make sure that you don’t store the API key as an unmasked string as the bills may get inflated in case of a leak.</p><pre>suspend fun createUser(apiKey: String, customerId: String) =<br>    suspendCoroutine&lt;Boolean&gt; {<br>        FinBox.createUser(apiKey, customerId,<br>            object : FinBox.FinBoxAuthCallback {<br>                override fun onSuccess(accessToken: String) {<br>                    // Authentication success<br>                    startPeriodicSync()<br>                    // Resume the Coroutine<br>                    it.resume(true)<br>                }<br>                <br>                override fun onError(@FinBoxErrorCode errorCode: Int) {<br>                    // Authentication failed<br>                    it.resume(false)<br>                }<br>            })<br>    }</pre><p>onSuccess callback is returned when the user is successfully created otherwise onError callback is returned. The onError callback returns <a href="https://docs.finbox.in/device-connect/android.html#error-codes">Error codes</a> specified in the documentation.</p><p>If the user is created successfully, start the periodic syncs.</p><pre>private fun startPeriodicSync() {<br>    val finBox = FinBox()<br>    finBox.startPeriodicSync()<br>}</pre><p>The startPeriodicSync method will start sending the data immediately to our servers and also sets periodic sync frequency of 8 hours. This frequency can be changed by setSyncFrequency method. Call it before you start the periodic syncs.</p><pre>finBox.setSyncFrequency(TimeUnit.HOURS.toSeconds(hours))</pre><p>When your company decides to stop sending/sharing the data with us you can call the stopPeriodicSync method.</p><pre>private fun stopPeriodicSync() {<br>    val finBox = FinBox()<br>    finBox.stopPeriodicSync()<br>}</pre><blockquote>FinBox works with banks &amp; NBFCs to digitize their customer journeys &amp; to help them underwrite NTC customers using alternative data from the smartphone. To figure out the creditworthiness of your first time borrowers, <a href="https://finbox.in/contact-us">get in touch</a>.</blockquote><blockquote>We are hiring!!! If you want to be part of the team building the future architecture of financial services, reach out with your accomplishments at <a href="/service/mailto:srikar@finbox.in">srikar@finbox.in</a> OR <a href="/service/mailto:tech@finbox.in">tech@finbox.in</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a96e18defe40" width="1" height="1" alt=""><hr><p><a href="https://medium.com/finbox/device-connect-android-sdk-integration-a96e18defe40">Device Connect Android SDK Integration</a> was originally published in <a href="https://medium.com/finbox">FinBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google’s Confidential Mode in Gmail not so Confidential]]></title>
            <link>https://medium.com/@gsrikar/googles-confidential-mode-in-gmail-not-so-confidential-df17f3cdc739?source=rss-d9da81681198------2</link>
            <guid isPermaLink="false">https://medium.com/p/df17f3cdc739</guid>
            <category><![CDATA[confidential-mode]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[gmail]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Srikar Reddy]]></dc:creator>
            <pubDate>Mon, 22 Jul 2019 18:14:09 GMT</pubDate>
            <atom:updated>2019-07-22T18:14:09.041Z</atom:updated>
            <content:encoded><![CDATA[<h4>Copy Passwords, Username without Hassle in Confidential Mode</h4><p>Even though Confidential Mode was available for Gmail users for more than a year, G Suite users only got the taste of it less than a month back.</p><p>After years of cry from the users over security, Google introduced Confidential Mode.</p><p>Using it, the users can set an expiration date to the email and revoke access anytime. In addition to that, the sender can passcode protect the email with the receiver phone number and the receiver has to enter the received passcode to view the contents of the email.</p><figure><img alt="Confidential Mode Modal in Gmail that requests to user to set expiration date and pass code" src="https://cdn-images-1.medium.com/max/500/1*qAdh191lQHfzGau63qWfYg.png" /></figure><p>Confidential Mode brought promises of secure communication of passwords and attachments. But it failed to live up to claims and even provide basic security.</p><h4><strong>Intro:</strong></h4><p>When sent in Confidential Mode, Google claims to remove the contents of the email on the receiver side and replace it with the links to the actual content. This means the contents of the email message the receiver sees is a rendered (embedded) page.</p><p>Google says</p><blockquote>Recipients of messages in confidential mode don’t have the option to forward, copy, print, or download messages, including attachments.</blockquote><h4>Fail Test Case (Copy Password):</h4><p>I have shared an email recently with one of my colleague which contains WIFI username and password in the Confidential Mode, but he demonstrated how to copy the password, breaking one of Google’s claims.</p><p>Simply Inspect the web page by tapping the trackpad with two fingers and clicking Inspect. This opens the inspect window with Elements tab selected by default (If not move to the elements tab).</p><p><strong>Mac Keys:</strong> Command + Shift + C</p><p><strong>Mouse or Windows Trackpad:</strong> Right Click + Inspect</p><p>As you can see in the below image, the email contents are exposed as raw text making it easy to select and copy the password.</p><figure><img alt="Confidential email sent whose content expires after Jul 22, 2019" src="https://cdn-images-1.medium.com/max/1024/1*TJPSUMqqLVWLWUjOO1HtwA.png" /></figure><p>This defeats the purpose of sending the email in Confidential Mode if the users can copy the contents easily.</p><p>I’m trying to check the same is possible with an attachment. I’ll update the article if I find vulnerabilities with this option.</p><p>Beyond this,</p><p>There is no End to End encryption when emails are sent, which means, the Gmail servers can see the contents of the email.</p><p>The contents of the emails are retrievable from the sender side even after the expiration date and also available in the Google servers. This makes the email contents vulnerable to malware.</p><p>The SMS Passcode option is another violation of user privacy. In this option, the sender has the provide the phone number of the receiver. Even when the receiver chose to not connect their phone numbers with the email address, Google will be able to map the phone numbers with the email address.</p><p>The more we look at the Confidential Mode, the more flaws we will find in the feature provided. Finally, the feature fails to provide any security to the email contents and creates a misconception among its users.</p><p>I hope Google understands the concerns, resolves the issues with Confidential Mode and improves security.</p><p><em>Disclaimer: The views expressed in the article belong solely to the author and not necessarily the author’s current or previous employers or organizations.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df17f3cdc739" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Runtime Permissions, Recent Policy Changes and Security Vulnerabilities]]></title>
            <link>https://medium.com/finbox/android-runtime-permissions-recent-policy-changes-and-security-vulnerabilities-935c5fc88f3d?source=rss-d9da81681198------2</link>
            <guid isPermaLink="false">https://medium.com/p/935c5fc88f3d</guid>
            <category><![CDATA[android-apps]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mobile]]></category>
            <dc:creator><![CDATA[Srikar Reddy]]></dc:creator>
            <pubDate>Fri, 07 Dec 2018 16:39:39 GMT</pubDate>
            <atom:updated>2018-12-07T16:39:39.580Z</atom:updated>
            <content:encoded><![CDATA[<p>Since every application installed on the Android device runs in an isolated environment, they are restricted to access system resources without the appropriate permissions.</p><p>Runtime Permissions were introduced by Google with the release of Android 6.0 (devices running Marshmallow). Permissions were requested when the user is actively interacting with the application instead of, at the installation.</p><p>The Runtime permissions partially address the user concerns over their privacy and give them the control of allowing, revoking apps from accessing sensitive data.</p><h4><strong>What are Permissions?</strong></h4><p>There are more than 450 permissions that can be added to the AndroidManifest.xml and these are segregated into three protection levels. The three protection levels include:</p><ol><li>Normal Permissions</li><li>Dangerous Permissions</li><li>Signature Permissions</li></ol><p>The name says it all, Dangerous permissions if misused, the user privacy is compromised, unlike Normal Permission where there is less risk for user privacy and most of the Signature Permissions are granted to the apps that have the same digital signature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yj8wsUf0F0tiDOJlM2paaA.jpeg" /></figure><p>Dangerous Permissions are to be requested and granted by the user during the app runtime while the Normal Permissions are granted without user consent and during the install.</p><p>Both permissions are added to AndroidManifest.xml. If Runtime check is implemented for a permission without adding it to AndroidManifest.xml, then the system ignores the permission check.</p><p>When a permission is denied, it should be gracefully handled by the developer by showing a bottom sheet (or a dialog) explaining the user, the reasons behind requesting the permission and how granting the permission will help the user. If still denied, disable the feature (in case of a chat app where the user is trying to upload an image) or let the user manually enter the address (in case of auto-filling the edit text fields from location).</p><p>Developers can also choose to show a short or a detailed description prior to the permission request but don’t take the user to the settings screen to allow the permissions if denied once. Do so only if they checked the <strong>Never Ask Again</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UgYKexYGUdwJj6PcTvNXtQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WUMl_YqUKPeeGzYXp65RWA.jpeg" /></figure><p>Requesting permission at the appropriate time will make a considerable difference in the acceptance ratio of that permission. And, asking the permission frequently and in-appropriately will push the user to select <strong>Never Ask Again</strong> checkbox.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tNkD1ztTcBPBd3b7CSAolQ.jpeg" /></figure><p>Take Uber application for example which requests the Phone permission and SMS permission every time during OTP validation for a payment. The end users understand that the SMS permission is requested to auto-fill the OTP but if the denied the SMS permission the first time then showing the permission request infrequently will reduce the chances the user will check the <strong>Never Ask Again</strong> checkbox.</p><h4>What are Permissions Groups?</h4><p>Dangerous Permissions of similar type are categorised into meaningful Permission Groups. They are listed below:</p><pre>+------------------+------------------------+<br>| Permission Group |      Permissions       |<br>+------------------+------------------------+<br>| CALENDAR         | READ_CALENDAR          |<br>|                  | WRITE_CALENDAR         |<br>+------------------+------------------------+<br>| CALL_LOG         | READ_CALL_LOG          |<br>|                  | WRITE_CALL_LOG         |<br>|                  | PROCESS_OUTGOING_CALLS |<br>+------------------+------------------------+ <br>| CAMERA           | CAMERA                 |<br>+------------------+------------------------+<br>| CONTACTS         | READ_CONTACTS          |<br>|                  | WRITE_CONTACTS         |<br>|                  | GET_ACCOUNTS           |<br>+------------------+------------------------+<br>| LOCATION         | ACCESS_FINE_LOCATION   |<br>|                  | ACCESS_COARSE_LOCATION |<br>+------------------+------------------------+<br>| MICROPHONE       | RECORD_AUDIO           |<br>+------------------+------------------------+<br>| PHONE            | READ_PHONE_STATE       |<br>|                  | READ_PHONE_NUMBERS     |<br>|                  | CALL_PHONE             |<br>|                  | ANSWER_PHONE_CALLS     |<br>|                  | ADD_VOICEMAIL          |<br>|                  | USE_SIP                |<br>+------------------+------------------------+<br>| SENSORS          | BODY_SENSORS           |<br>+------------------+------------------------+<br>| SMS              | SEND_SMS               |<br>|                  | RECEIVE_SMS            |<br>|                  | READ_SMS               |<br>|                  | RECEIVE_WAP_PUSH       |<br>|                  | RECEIVE_MMS            |<br>+------------------+------------------------+<br>| STORAGE          | READ_EXTERNAL_STORAGE  |<br>|                  | WRITE_EXTERNAL_STORAGE |<br>+------------------+------------------------+</pre><p>Take a look at the <a href="https://developer.android.com/guide/topics/permissions/overview#perm-groups">Runtime Permission Groups</a> for the updated list as the group has changed and may change in the future with user privacy in focus.</p><p>Notable changes include but not limited to moving READ_CALL_LOGS, WRITE_CALL_LOGS and PROCESS_OUTGOING_CALLS out ofPHONE permission group to CALL_LOG permission group and the addition of ANSWER_PHONE_CALLS in API 26 (Oreo).</p><p>Permissions are granted based on the permission group. Let say if a permission READ_CALL_LOG is granted by the user when a permission dialog is shown then the developer can request WRITE_CALL_LOG or PROCESS_OUTGOING_CALLS anytime and the permissions are granted without user consent. (This leaves holes in the permission system security and we will discuss this in detail under the improvements section of the article.)</p><h4>Why force developers through Policy changes?</h4><p>Even though the permission model was introduced in 2015, many apps failed to integrate and request the Runtime Permissions in their apps. Instead, they choose to forcefully take all the permissions at the installation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*hx6xCuCFaiVUnPc20P804g.gif" /></figure><p>From August 1st, 2018, new applications uploaded to the Google Play Store had to target the SDK version 26 and from Nov 1st, 2018, any update to an existing application had to have the target SDK version set to 26. API version 26 corresponds to devices running Oreo.</p><p>This was released as a requirement to force developers that are trying to use lower SDK version number (especially targetSdkVersion to 22 or 21) to skip the implementation of Runtime Permissions and some of them are collecting the user data without the consent.</p><p><a href="https://developer.android.com/distribute/best-practices/develop/target-sdk">Google Play’s target API requirement</a> policy reduces the risk of user privacy where the app requests for all the permissions android provides will no longer receive access to the data and are now forced to request the necessary ones. Google mentioned that it will continue to update the target requirements, so watch out for the changes.</p><p>We are now in December, which means every application has to implement Runtime Permissions and even the Android Studio will throw an error if tried to build a release apk or aab.</p><h4><strong>How to limit the Required Permissions?</strong></h4><p>There are multiple steps the developer needs to take to reduce the number of permissions the user see in the Settings screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QbnQkDjazgyH1ayhEB-GvA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qGqa_J-ew9F7-eJtDTxEtw.jpeg" /></figure><p><strong>Implicit Intents.</strong> Try to limit the permissions that are added to the AndroidManifest.xml file and use implicit intents to perform the action. For example, if the developer wants to share a video via SMS to a Contact simply open the SMS app with an implicit intent with the custom message as an extra rather than letting the user select the contact and customise the SMS inside the app.</p><p>Custom UI is tempting but in the above case, unless the permissions are also used in other places in the application with no availability for an implicit intent then you can go with the custom UI.</p><p>We are interested to see if YouTube removes the SMS permission in the future update in support of its recent restriction over SMS/Call Logs or violates its own terms (Since there is no way Reading and Sending SMS for YouTube app is considered as core functionality).</p><p>Increased number of permissions (not restricted to Runtime Permissions) will reduce the trust the user will have on the application. Based on the category listing in the Google Play Store and the app functionalities described in the description, users take an educated guess of what permissions are required. So, not letting the user cross Splash Screen might provoke some users to uninstall the application.</p><p>Requesting multiple permissions will also reduce the chances the user will allow them. Mostly the developer needs one and in rare cases require two permissions to display the content or show a preview on the screen.</p><p><strong>Beware of Third-party Libraries.</strong> Use of third-party libraries is most common in Android Development. This is the best way to integrate advanced features and quickly reach production ready but they come with multiple risks. I’m not going to go into all the issues but the one such issue is the permissions that added to the apk (or aab) after Manifest files are merged.</p><p>One such library is CameraKit which was adding Camera Permission, Storage Permission, and Audio Permission to the application but we were using just the camera preview feature offered by the library and not for the video preview.</p><p>This will increase mistrust among the users as there was no other feature in the application that uses Audio permissions. To remove excessive permissions, add the permission to the AndroidManifest.xml file along with remove node marker.</p><pre>&lt;uses-permission <em>android:name=</em>&quot;android.permission.RECORD_AUDIO&quot;<br>                 <em>tools:node=</em>&quot;remove&quot;/&gt;</pre><p>There are numerous applications in the Google Play Store, whose comment section is filled with users that raised concerns about the permissions the application requests. In some cases, it’s the application that is requesting excessive permissions and in other cases, we have seen developers explaining to the irked commenters that the permissions were added by the integrated third-party libraries.</p><h4>How minor Improvements can enhance Security?</h4><p><strong>Permission Dialog Message.</strong> When any individual permission of a permission group is requested, a common message is shown along with <strong>allow</strong> and <strong>deny</strong> buttons. For example, SEND_SMS and READ_SMS permissions belong to SMS permission group and when either SEND_SMS permission is requested or READ_SMS permission is requested, the system shows “send and view SMS messages” as the message.</p><p>This is a simpler way to make the average user understand that the app wants to access SMS on the device but the privacy-concerned users face trouble understanding whether the app intends to Read the SMS stored on the device or Send an SMS on behalf of the user.</p><p>There may be cases where the user doesn’t want to even temporarily provide an app access to Read the SMS stored on the device but only prefer to provide permission to Send SMS.</p><p>One such example is in case of a malicious Unified Payments Interface (UPI) enabled applications, where the apps require to send an SMS to verify the SIM card with the Bank but there is no use case to allow the application to read the SMS. It is hard to differentiate the exact permission the application is requesting and restrict it to the individual permission rather than the group.</p><p>Recently, Google started restricting access to SMS/Call Logs permissions and threatening the developers to remove the application if not applied, accepted <a href="https://docs.google.com/forms/d/e/1FAIpQLSexGxix-00xgnBhPLDvxwjbTcYqHB7enz-cQVJIY4zLuJpRtQ/viewform">Google Declaration Form</a>. But the use case is beyond the SMS permission.</p><p>There are improvements that can be made to the messages the permission dialog displays.</p><p><strong>Permission Leaks.</strong> The permissions are granted based on the UID and not based on the application. Take Microsoft Word, Microsoft Powerpoint, Microsoft Excel as an example. All these Microsoft applications have the same UID and at the start, they request permission to access external storage. If the user has granted the permission for one application then all the other applications will also obtain access to the user device Storage.</p><p>The user can’t revoke the permission from the Settings for a particular Microsoft application like Excel since this will revoke the permissions of all the other apps like Powerpoint and Word.</p><p>Shady developers can have a genuine engaging application and a malicious application with the same UID installed on the user device and the malicious application can have access the sensitive information if the user has granted permissions to the genuine application. In this case, the user has no control over which applications they grant permissions. It either all or none.</p><p><strong>Revoke Normal Permissions.</strong> The end user can revoke the Runtime Permissions of an application from the Settings screen but they can’t revoke Normal Permissions. It makes easier for the developers where they have to handle fewer permission checks during the feature implementations but the end user privacy can be misused.</p><p>Developers prefer more flexibility when implementing the applications and the users prefer more control over their privacy.</p><p>Misuse of permissions by companies and unreliable developer policy changes by Google are creating a lack of trust for both the average user and the developers on the Android Ecosystem.</p><h4>Conclusion</h4><p>During the time of its release, Runtime Permissions was a right step towards respecting user privacy but failed to evolve since then and numerous Dangerous permissions were downgraded to Normal Permissions (One such permission was the Internet Permission).</p><p>As of the current form, Runtime Permissions is a hassle to implement and provide a false sense of security to the user.</p><p><em>Disclaimer: The views expressed in the article belong solely to the author and not necessarily the author’s current or previous employers or organizations.</em></p><blockquote><a href="https://finbox.in/">FinBox</a> works with banks &amp; NBFCs to digitize their customer journeys &amp; to help them underwrite NTC customers using alternative data from the smartphone. To get in touch, drop a line <a href="https://finbox.in/partners.html">here</a></blockquote><blockquote><strong>We are hiring!!!</strong> If the stuff I have discussed above excites you, feel free to get in touch at srikar@finbox.in OR tech@finbox.in</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=935c5fc88f3d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/finbox/android-runtime-permissions-recent-policy-changes-and-security-vulnerabilities-935c5fc88f3d">Android Runtime Permissions, Recent Policy Changes and Security Vulnerabilities</a> was originally published in <a href="https://medium.com/finbox">FinBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>