1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Restrict access of apps to intended users

Discussion in 'iPhone/iPad Programming' started by AbhishekApple, Jan 31, 2011.

  1. macrumors member

    I want my app in app store to be downloaded by intended users, how can i do so?

    will i have to do it by coding or can i make certain settings while submitting the app to app store

    please provide some links if it is possible.
  2. Moderator


    Staff Member

    The iOS Developer Enterprise Program is what you seek. http://developer.apple.com/programs/ios/enterprise/

    You can't restrict who you sell to on the App Store.

  3. Moderator


    Staff Member

    Intended users? Please elaborate.
  4. macrumors 6502a


    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-gb) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5)

    You could distribute ad-hoc up to 100 devices, distribute through the Enterprise Programme (as mentioned above), or could implement some sort of login screen at the front of the app.
  5. Moderator


    Staff Member

    I was going off of the "restrict access" part of the thread title.

    Though it made me wonder. Are in-house apps restricted in any way?

    i.e. if a porn site operator wanted to list all of its customers as members of an "organization" that required fees to join and distribute an app from their website, could they under the auspices of the "iOS Developer Enterprise Program"?

    Otherwise reaching your intended users sounds like marketing 101.

  6. Moderator


    Staff Member

    Yeah, I just felt "intended users" was far too vague for us to start drawing conclusions yet.

    I thought they could only be distributed via a company's intranet. But, since the details of the Enterprise program are much less publicized than the regular program and I'm not even sure we have any enterprise developers on this forum (or they're covered by an NDA), we may not be able to learn much about its details.
  7. Moderator


    Staff Member

    Ah yes, the Netflix (among others) model. I can't say that I've seen an app that charges for the app, but requires service on the back end.

    Any examples?

  8. macrumors 603

    You can't restrict downloading to intended users from the iTunes App store. You can restrict only by country. You can have an app require a login for important functions, or only download proprietary data to intended users.

    But to get an app accepted by Apple, you have to make it useful to everybody.

    Example is a banking app. Plenty of these in the App store. Only useful for banking to customers with accounts at that bank plus a login. Useful to everybody because it displays maps to the nearest branches (or an interest rate calculator, or some such).

    If your intended users are all employees of a company with a D&B rating (used to require 500 employees on this report), that company might be able to use the iOS Enterprise program.
  9. Moderator


    Staff Member

    The Netflix app doesn't do anything unless you log in, so are you sure about the "useful to all" restriction? Still haven't seen or heard of any paid apps that require a logon.
    The current website says "employees or members of your organization" which is why I started wondering about pay for service apps via the Enterprise program.

  10. macrumors 68000


    They denied an app from my company for this.

    Basically, because you had to be a member of our site for the app to have any value, and my company isn't huge on the radar like Netflix or Amazon, it was denied. We even appealed the decision and it was still denied.
  11. Moderator


    Staff Member

    What is a paid or free app?
  12. Moderator


    Staff Member

    Good to know from first hand experience, but just like all the rules, there seem to be exceptions. to them.

  13. macrumors 603

    I'm just guessing, but it looks like since Netflix and Amazon customers are such a huge percentage of iTunes users (even Apple TV supports Netflix), that Apple considered that close enough to "useful for everybody" for them.

    So if your "intended users" are 50% or so of Apple's customers, you might be able to somehow get an exception.
  14. macrumors 68000


    It was a free app. It basically was just meant to tie into a simple web service for reporting and such, but if you weren't a member of our site you would have absolutely no reason to download it. Because we are such a "small fish", it was denied.

    My boss tried to make the argument to them that we were similar to the Facebook app (not in functionality, just in response to the argument that only members of our site would find value). No dice.

    From my personal experience, sometimes whether the app is denied or not can depend entirely on who is reviewing it (and how they feel that day). That's why we went through the extensive appeal process.
  15. Moderator


    Staff Member

    The reviewers are people too, and given that we often see apps pulled from the store after approval for one reason or another they are not infallible.

  16. macrumors 68000


    Definitely true. I know one of my apps was pulled for using CoreLocation solely for ads (due to AdMob). I must have updated the app half a dozen times with the offending functionality turned on before a reviewer caught it and denied the update.
  17. macrumors member

    thnx this conversation helped...
  18. macrumors 6502


    how many users are you planning on?

    What about setting a high price for the app?

    Then giving your select users promo codes for the app. You could get 50 per version and just do a simple "Bug fixes" update to get more promo codes.
  19. Moderator


    Staff Member

    Helped how? Some more specific feedback would help us to know how we helped. Plus, we're still not sure what you meant when you said "intended users". Please be considerate to those trying to help you and try to answer the questions asked of you. Thanks. :)
  20. macrumors member

    i am developing a contactsDirectory app which shows list of contacts (already present in app) used by marketing dept of a/several company/s. Thus this app will be useful to only those marketing people(intended users).

    we can distribute ad-hoc up to 100 devices but the users are more than that and doing this process is hectic so this option is dropped.
    Also as ulbador said
    i cn't keep separate log in for intended user as it will lead to rejection.

    and thus concluded to keep the app open for all users.

    if still u find any work around please suggest.
  21. Moderator


    Staff Member

    IMHO this seems like something that should not be in an app, but handled in an Active Directory (or equivalent, even Google Apps) directory and accessed through the native Contacts app/interface.

    Especially if all of the users are on iOS 4 and can use multiple Exchange servers.

    Just MHO for a workaround.

  22. macrumors member

    hi balamw
    can u elaborate the idea of fetching thousands of record from server and inserting in present (Active) directory of iphone.i have least idea of MES..

    can u post some help full links
    i will dig on this mean while
    thanks for suggestion
  23. macrumors 603

    A more generic app that included no contacts or company labels or graphics, but that will download all this data and save it to an internal database after a company URL and password is entered might be an alternative. Put the data in XML, json or plist format, publish the format and put dummy data on a test site for Apple reviewers to use.

    Apple even recommends this technique. Look for the WWDC 2010 video on data driven apps.

    None of this is a problem for an experienced developer familiar with the source code of Apple's example iOS apps on their dev site.
  24. AbhishekApple, Feb 6, 2011
    Last edited: Feb 6, 2011

    macrumors member

    ya firewood i have used the same concept in existing app but i am facing delay problem while fetching records from sqlite db in app to an array.
    actually i am displaying records indexed(A,B,C,...) wise, so i fetched whole record and then did sorting and added in following array format
    Their are thousands of record so it takes time to load.

    Later i tried querying 26 times alphabetically
    select * from Customer where name like 'A%'
    select * from Customer where name like 'B%' likewise
    and inserting the returned value in the above formatted array

    Even this is taking time to load

    if u r not clear with this please let me know
    will post code
  25. macrumors 603

    The device display is tiny. So you don't need to fetch every records to start. Just the few that fit the user's initial visible view (maybe the next few above and below for scrolling), and maybe some pre-processed stats on how many for each group/letter, etc. It's the lazy loading technique.

    You can preprocess, index and compress all this info on the server before it's downloaded to the device, and download in the background (or require the user to do any long configuration downloads after installation and before first using the app). Then run offline. If the server timestamps all new data and changes, the app only has to download smaller updates if needed.

Share This Page