Can I use MachineID.getBytes() or MachineID.getUniqueID() as a unique identifier?

The bytes from MachineID.getBytes() are not to be treated as a unique identifier for a device.  It is unique, but is volatile and not suitable to be used as an identifier.  There are various system/hardware events which can cause the MachineID bytes to change over time.  The same rule applies to MachineID.getUniqueID().  If you do .getBytes() and then compare that to AnotherMachineID.getBytes(), even though they can be the same device (but different runtime or browser), you will get a "false" if you're doing a direct byte-by-byte comparison.  This is because during the device individualization process, the device's hardware attributes are interrogated to get a hardware "fingerprint" of the device.  This is stored as a data structure in the MachineID data structure.
The only resilient way (with limtiations, as stated in the next section) to compare to different devices to determine if they are the same device is to use MachineID.matches().  That comparison is resilient against machine hardware upgrades (changing hard drives, upgrading your video card, upgrading your CPU, reformatting your machine, changing user accounts, using different browsers, etc…). 
(NOTE): There are 2 known limitations to using MachineID.matches():
1. MachineID in the Chrome browser (on any platform) a randomly-generated ID string that is not tied to the hardware.  The reason for this is that with the release of Chrome Version 28 browser introduced a sandbox, where code in the browser is not allowed to communicate directly with the hardware layer. This will cause .matches() to fail if comparing a MachineID from Chrome against a MachineID from Firefox, even from the same machine.  This also means that if a user "resets Adobe Access DRM/Licenses", they will lose their ID, and it will be re-generated (as a new ID) the next time DRM content is consumed and their machine has to create a new MachineID.
2. A similar limitation applies to iOS devices running iOS7 and higher, as a sandbox was also introduced to that platform, preventing applications from directly accessing the hardware.  If you are using iOS7 with a the Primetime Player SDK (PSDK) 1.0 or 1.1, the MachineID for all devices will be the same value, as Apple blocked the device-access APIs (which Adobe Access uses) and caused them to return a static string.  Since all iOS7 devices will return the same string when the device hardware interrogation happens, all iOS7 devices using the the PSDK 1.1 or earlier will return true when MachineID.matches() is called.  Adobe is working on a high-priority fix to this issue, which will be released in a PSDK 1.1 patch/hotfix, where another persistent API is used to bind the MachineID to the device, instead of the blocked device-access APIs.  This new binding mechanism will be persistent across application uninstall/re-installs.
What is consistent between iOS7 and Chrome 28 (and higher), is that the MachineID will no longer be tied to the hardware attributes of the device.
cheers,
/Eric.

In case you would like to find some way to do something that requires concurrency monitoring (e.g. You run a service and wish to limit the # of devices that can access a your service), the best way to do this would be to move towards a "# of concurrent streams" model, similar to Netflix.
To do this, you can use Adobe Pass technology called Mai Tai, or implement your own technology (via cookies or authentication tokens) to limit user accounts to no more than XX concurrent streams.
cheers,
/Eric.

Similar Messages

  • How can I use either the contact center reporting or CAR to identify calls transferred from agents to other extensions?

    We are not to the call manager and I am trying to find a way to report calls that were received to our customer service agents though the call queue but were subsequently transferred to an extension out side of the queue.  With our implementation we changed call routing and need to see how many misrouted calls are getting to the queue.
     

    Marc,
    Are you on UCCE or UCCX? If you're using UCCE, the Termination_Call_Detail table includes a record of all transfers made by Agents.
    -Jameson

  • Can we use WHO columns in Business Logic implementation

    Hi,
    Can we use WHO columns for business logic implementation..?
    From one table I need to pick up the latest record. I have a ActionDate column in the table which stores the date of the action.
    But on the same day there can be multiple action records. ie Multiple records have same ActionDate.
    Select * from action_table where action_date=(maximum action_date)
    The above query will return more than 1 record.
    Now can I use the Creation_Date which is a WHO column to identify the latest record..?
    Will it introduce any issues if I use creation_date WHO column?
    Usage of WHO column in application logic, Is it against the Standards ?
    Thanks a lot.

    I guess you are talking about populating the value using the history column creation_dt from EO.
    If so, you can use then. We are using them in all our applications to populate WHO columns of our table.
    Infact as far as I know, even Oracle application uses them.
    They generally populate the timestamp, so you may need to format them when doing date comparisons.
    Hope that helps.
    Amit

  • How can we use 2 Apple ID's with 1 Apple TV??

    We just bought an Apple TV device.  We anticipate liking it, but are a bit stuck at the moment.
    We have 2 laptops (PC), 2 Apple ID's and 1 Apple TV device.  How can we use the Apple TV with each of our unique ID's?
    Any help appreciated.
    Thanks - s2557

    The answer is YES. with no problems. In fact you can connect up to FIVE units in one itunes (But no more). I have no idea why OR who was the FOOL, that picked only 5 units. This has set limitation on their own product. I currently use 5 Apple Tvs at work for a interdepartmental media network. It just runs slide shows and training video's. I needed 9 units up and running, So I have another computer just to pickup the last 4 units, and shared the file folders I run 5 units at home as well. However you have to leave that itunes up and running. The five authorized limitation is also a pain. Steve said he was dong away with DRM, I guess that didn't work out to well. In short, I run 5 laptops, 3 desktops, 1 Mac Pro, 4 Ipads, 4 Iphones AND one Mac Mini with server 10.5.6 for a family of 4. The FIVE number limitation is a major pain. Best of luck to you.

  • Can I Use Jce in applet

    Hi all,
    Thanks for everybody first if you look at my question and try to help me to find out the problem.
    I need to write a applet which can let people to use
    the jce's des function to encipher the user's password and
    id from the homepage.
    I write a applet already. It work fine as a application.
    But it doesn't work when I run it as a applet. Does the problem come from the security problem because I need
    to Load a sun_jce provider in a clien machine ?
    Can I use JCE in applet ?
    If it is ok to use jce in developing applet do I need to sign the applet before run it in web and which file I need to sign.
    Btw, I use the archive tag in html file to make user get the whole jce jar file. does it Ok.
    Followin is my source code
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.security.*;
    import sun.misc.*;
    import java.applet.*;
    import java.awt.*;
    public class DesApplet extends Applet{
         public static void main(String[] arg) throws Exception{
              DesApplet des = new DesApplet();
              des.CallDes();
         public void init(){
              CallDes();
         public void paint(Graphics g){
         public CallDes(){
              Cipher desCipher;
              int i;                              
              try{
                   Security.addProvider(new com.sun.crypto.provider.SunJCE());
                   KeyGenerator keygen = KeyGenerator.getInstance("DES");
                   SecretKey desKey = new SecretKeySpec("11111111".getBytes(),"DES");
                   System.out.println("Hello");
                   desCipher = Cipher.getInstance("DES/ECB/NoPadding");
                   desCipher.init(Cipher.ENCRYPT_MODE,desKey);
                   byte[] cleartext = "00000000".getBytes();
                   String value = convert_int_to_hex(cleartext,8);
                   System.out.println("cleartext is:"+value);
                   byte[] ciphertext = desCipher.doFinal(cleartext);
                   value = convert_int_to_hex(ciphertext,8);
                   System.out.println("ciphertext is:"+value);
                   desCipher.init(Cipher.DECRYPT_MODE,desKey);
                   byte[] cleartext1 = desCipher.doFinal(ciphertext);;
                   value = convert_int_to_hex(cleartext1,8);
                   System.out.println("cleartext1 is:"+value);
              }catch(Exception e){System.err.println(e);}
         public String convert_int_to_hex(byte[] value, int len) {
         int i;
         int j;
         byte tmp;
         byte[] temp = new byte[len*2];
         char[] chars = new char[len*2];
         String result = new String();
         for (i=0; i<len; i++)
         if (value[i] < 0)
         temp[i*2] = (byte)((value[i] & 0xF0) >>> 4);
         temp[i*2+1] = (byte)(value[i] & 0x0F);
         else
         temp[i*2] = (byte)(value[i] / 16);
         temp[i*2+1] = (byte)(value[i] % 16);
         for (i=0; i<len*2; i++)
         if (temp[i] > 9)
         chars[i] = (char)(temp[i] - 10 + 65);
         else
         chars[i] = (char)(temp[i] + 48);
         result = result.concat(result.valueOf(chars));
         return result;

    I have a server and a client.
    Server has jdk1.4. client is an applet. I need to encrypt the username and password that are sent from client to the server.
    I am able to encrypt and decrypt using JCE's DES on server side, since jdk1.4 has JCE provider installed by default. Since the applet may be running on any browser which may not have JCE supported. Is it possible for me to send the JCE jar file along with the applet and somehow enable the client applet to encrypt the user name and password and send to server.
    Thanks a lot,
    Gagan.

  • Can we use IF statement in PDF templates

    Hi,
    I developed a PDF template. I need to underline ang bold the records based on a specific condition. Can we use IF conditon in PDF templates. Please suggest.
    Thanks...

    Billy  Verreynne  wrote:
    The case syntax is a bit funny though as there's not a single condition evaluation (like a DECODE or case structs from some other languages).
    This is what I would expect a typical case struct to look like - evaluating a single condition:
    case <condition>
    when <value-1> then return <result-1>
    when <value-n> then return <result-n>
    else
    return <return-z>
    end
    ?:| You mean like this...?
    SQL> ed
    Wrote file afiedt.buf
      1  select empno, ename, deptno
      2        ,case deptno
      3           when 10 then 'This is Department 10'
      4           when 20 then 'And department 20'
      5           when 30 then 'And of course department 30'
      6         else
      7           'Blimey it is something else!'
      8         end as dept_desc
      9* from emp
    SQL> /
         EMPNO ENAME          DEPTNO DEPT_DESC
          7369 SMITH              20 And department 20
          7499 ALLEN              30 And of course department 30
          7521 WARD               30 And of course department 30
          7566 JONES              20 And department 20
          7654 MARTIN             30 And of course department 30
          7698 BLAKE              30 And of course department 30
          7782 CLARK              10 This is Department 10
          7788 SCOTT              20 And department 20
          7839 KING               10 This is Department 10
          7844 TURNER             30 And of course department 30
          7876 ADAMS              20 And department 20
          7900 JAMES              30 And of course department 30
          7902 FORD               20 And department 20
          7934 MILLER             10 This is Department 10
    14 rows selected.

  • In alv report can i use control break events? if no .whay?

    Hi all,
    in alv report can i use control break events? if no .whay?

    hi,
    you can use control break statements in ALV report.
    for example: if one PO is having more than one line item, that time you need to display PO only once.

  • HT1751 I need to uninstall and reinstall iTunes (it won't let me update). So, how do I copy or back up my iTunes library of over 1,500 songs? Can I use a Flash Drive to do so?

    I need to uninstall and reinstall iTunes (it won't let me update). I have IE 8 on Windows XP, and iTunes 10 something. In my Program files list I see iTunes and iTunes (2) and even iPod and iPod (2) where a tech had to back up and do this for me before. I'm just trying to fix it all. I keep getting the "The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder containing the installation package 'iTunes.msi' in the box below." I can even run a search and find the folder, but it gives me the same error message. I was planning on using the Microsoft Fix-It tool  to help uninstall then Reinstall iTunes. But I need to backup my library. So, how do I copy or back up my iTunes library of over 1,500 songs? Can I copy the folder to desktop or can I use a Flash Drive to backup my music? I don't want to do anything until I know for sure how I can backup my songs, and then reinstall them into iTunes. Thanks for any help.

    Ok, thanks that helps. I don't have an external hard drive though. What about backing up through 'the cloud'? I'm just wondering since my husband syncs his iPod to the PC through iTunes and he's worried that he will lose all the songs on his iPod if the library is lost from iTunes and he tries to 'sync' it up again. I'm not exactly sure how to  'copy the entire iTunes folder' either. I kinda suck at this unless I have step by step instructions, which I haven't found yet on iTunes help or other sources.
    The only way I know how to back anything up is by going back to a restore point, etc. (as stated before, we don't have an external hard drive.)
    Thanks for the info.

  • How can I use 2 Apple IDs in Itunes? I have 2 IOS Devices. They each have there own AppleID. What is the proper way to sync both of them to Itunes?

    How can I use 2 Apple IDs in Itunes? I have 2 IOS Devices. They each have there own AppleID. What is the proper way to sync both of them to Itunes? I wanted my teenager's AppleID to be different from mine so that she couldn't charge stuff to my AppleID, therefore I created me another one. Now when I go to Sync either device, it tells me that this IOS device can only be synced with one AppleID. Then I get a message to erase it, not going to do that, lol. If I logout as one ID and login as the other, will it still retain all synced information on the PC from the first IOS device? If I can just log in out of the AppleID, then I have no problem doing that as long as the synced apps, music, etc stays there for both. I am not trying to copy from one to the other, just want to make sure I have a backup for the UhOh times. If logging in and out on the same PC of multiple AppleIDs is acceptible then I need to be able to authorize the PC for both devices. Thanks for the help. I am new to the iOS world.

    "Method Three
    Create a separate iTunes library for each device. Note:It is important that you make a new iTunes Library file. Do not justmake a copy of your existing iTunes Library file. If iTunes is open,quit it.
    This one may work. I searched and searched on the website for something like this, I guess I just didn't search correctly, lol. I will give this a try later. My daughter is not be back for a few weekends, therefore I will have to try the Method 3 when she comes back for the weekend again. "
    I forgot to mention that she has a PC at her house that she also syncs to. Would this cause a problem. I am already getting that pop up saying that the iPod is synced to another library (even though she is signed in with her Apple ID to iTunes) and gives the pop up to Cancel, Erase & Sync, or Transfer Purchases. My question arose because she clicked on "Erase & Sync" by mistake when she plugged the iPod to her PC the first time. When the iPod was purchased and setup, it was synced to my PC first. When she went home, she hooked it up to her PC and then she erased it by accident. I was able to restore all the missing stuff yesterday using my PC. However, even after doing that it still told me the next time I hooked it up last night that the iPod was currently synced with a different library. Hopefully, you can help me understand all this. She wants to sync her iPod and also backup her iPod at both places. Both PCs have been authorised. Thanks

  • Can I Use iTunes Store without Storing Bank Accounts, etc, in my Profile?

    Hi
    Today a fraudulent charge of $89.99 appeared on my iTunes account. This suggests that a hacker has obtained my password, and hence access to all information in my iTunes account, including credit card or Paypal account information. I can deal with having to claim refunds for fraudulent iTunes purchases, but I cannot afford to risk ID Theft, or to have my back account information in the possession of hackers.
    (1) Is it possible to maintain an iTunes account that does not store bank accounts, and ideally stores no personal information other than my email address?
    (2) If I can do this, I assume I'd then have to enter that information for each purchase. Will this information be expunged once the ourchase is complete? Or would it remain on the system in some form, accessible to hackers?
    (3) If (1) is not possible, how do I cancel my iTunes account? There does not seem to be such an option on the iTunes Account Management screens.
    Thanks,
    Chris

    You can remove your credit card from your account. Go into the account, click "Edit payment information" and you will see the option under credit card to click "None."
    For purchasing, you can either enter the card info per transaction, or you can start using iTunes gift cards which are readily available.

  • How can I use apps downloaded by different users on the same iPad?

    I have a 'work' iPad so the apps on it have been downloaded using two different accounts. Which was fine until I did an update at the weekend and suddenly I can only use the one's I downloaded. Is there anyway of 'sharing' these apps so who logs in can use all the apps?

    No, I don't think there is. As far as I know the iPad is meant to be a 'one per Apple ID' device...and isn't really meant to have multiple Apple ID's  downloading apps to a singular device.
    I think the simplest way around your issue is to use only one Apple ID to download everything.

  • Can i use 2 ipad's on the same itunes account with different apple accounts?

    Both me and partner have an ipad 4. Though we only have one computer, can we use the same itunes but with different apple acount without any issues? We use some of the same apps, but my partner plays fx Baldus Gate and is worries that save files will be corrupted.

    Each iPad should be linked to its owner's personal, private and nonshared AppleID. In the Mac, each one should have a different login account so each has their own iTunes Library containing your iPad's details. When you use iTunes on the Mac, since each logs in with a different login and corresponding Home directory, iTunes picks up the correct AppleID.

  • How can i use my account without the billing info, as i do not have a credit card. and my shipping and billing info is under US. i'm in singapore. how do i change this?

    how can i use my account without the billing info, as i do not have a credit card. and my shipping and billing info is under US. i'm in singapore. how do i change this?

    If you are just visiting Singapore, then leave the account as it is. If you have moved there, then view your account using the iTunes app on a Mac or PC and change the country/region to your current location and address. If you do not have a bank card, you can fund your account using iTunes gift cards if available in Singapore.

  • How many computers can I use my account on

    I have just started a 6 month contracting role as an in house designer.  Can I use my account at this new premisis while still using it at home for my home business?

    Hi All,
    One Creative Cloud Subscription entitles you to install on two computers.
    Can I use the software I download from Creative Cloud on multiple computers?Yes, you can install and activate Creative Cloud desktop applications on two computers, regardless of operating system, for the individual associated with the Creative Cloud membership. See the product license agreements page for more information.
    The above excerpt is from link: 
    http://www.adobe.com/products/creativecloud/faq.html
    You can go through various information regarding the Creative Cloud from this link.
    Regards,
    Rajshree

  • How can I use one background jpeg in my ebook without a large file size

    I'm guessing that by simply adding a background image or watermark by default adds a separate copy to each page. Since I am intending for them to be the same on all pages except for the title page, how do I shrink the final file size of my PDF eBooks so that the image is stored once but shown on all pages?
    Thanks in advance.

    Thank you, I understand, yeah, I knew that, my phone is factory unlocked and I am going home, which is obviously not in the States and I am thinking of buying a local carrier there. However, I still have 2 weeks before I leave and cannnot wait to start using my Iphone 4. I thought at least I could use the mp3 player function. So as far as I understand, I cannot activate it without a sim card. I have been using metropcs for about two years and it does not have a sim card. In this case, do I really not have another choice but wait for two weeks to listen to music? My Mp3 player just failed me and I really need to listen to music but on the other hand, while I can use my iphone as an mp3 player in two weeks, I don't want to spend more money on a new one. So, do you have another suggestion? For instance, can I use a friend's sim card to activate mine? Would this cause any trouble, when I go home and buy a local carrier? I think these questions might kinda sound weird to you, but first time with an Iphone, extremely excited to start using under my circumstances, I need help   thanks,

Maybe you are looking for

  • Connecting iPad to dlink DIR-600 router

    I wish to connect my iPad to a DIR-600 router so I can print wirelessly. The printer and router have successfully connected but I have no idea what settings to put into the iPad to get it to connect. There is no internet involved due to location (bui

  • Create an instance of a class from another

    Hello, I made a BADI and inside the implementation CLASS y want to call a CLASS specialized in creating random numbers (CL_ABAP_RANDOM_INT). What should I do  to be able to call this class methods inside my class implementation. Kind Regards.

  • Please contact iTune support to complete the transaction.

    I'm living in Hong Kong! I use US iTunes account to make game and in-game purchase by using US iTunes gift card to credit on it, where I found it from local retailshop. To be honest, I don't have the real Address in USA nor a Credit Card so I just se

  • Transport Request for LSMW Object wise

    Hi, I have Created Project, Subproject and Objects in LSMW. Project Name      : COND_PROJECT Subproject Name : COND_SUBPROJ Object Name       : COND_OBJ1 -------->(Here i have created total 10 Objects)                             COND_OBJ2           

  • How to run .class file and .jar file in jdev9i

    I want to run .class file and .jar file in jdev9i,what should I do? Also,I want to generate .class file and .jar file in jdev9i,what should i do?