Transfer Script

I am trying to restrict access to a course page by password protecting it. I have went into the edit course page and added in custom permission added download to USHistory@urn:mace:..... Ok now i tried to go into the transfer script and add the following credential;
String[] credentialsArray = { USHistoryCredential };
String displayName = "USHistory";
String emailAddress = "[email protected]";
String username = "USHistory";
String userIdentifier = "password";
What am I doing wrong cause this isn't working.
Thanks

Hmm ... lemme see if I can explain. I'm not sure I'm going to do your question justice ... but I'll try.
The first thing to know is this: Apple does not hold any userid/password info for an iTunes U site ... with one, very very specific, exception. But that exception does not come into play for you in this instance. The basic rule of thumb is that Apple does not know any of your users ... Apple only deals with credentials.
In iTunes U, what you do is authenticate your users your own way (whatever that is ... Banner, Active Directory, LDAP with an MD5 hashed password store, Kerberos). Your authentication process basically gives a yes/no answer ... "such-and-such user is valid at our school" or "such-and-such user is not part of our school". If you get a "yes" response from your authentication system, you generate a set of credentials for your user and pass them to Apple. Based on the credentials you assign to your user, Apple grants him/her access to specific courses and iTunes U tracks.
As I am fond of saying, an iTunes U credential is like a high school hall pass. The hall pass itself is a piece of plastic or paper or cardboard ... it could be laminated ... but it only says one thing, "Let the bearer of this pass go to the lunchroom," or, "Let the bearer of this pass go to the bathroom," or, "Let the bearer of this pass go to the principal's office" ... like that. If a teacher stops a student in the hallway, he/she might ask, "Can I see your hall pass?" The teacher will not necessarily know who the student is ... all he/she needs to know is that the student has a valid hall pass. In fact, the beauty of the hall pass system is that no teacher need know the name of any particular student ... all that matters is that someone the teacher trusts gave the student a valid hall pass. iTunes U works the same way ... Apple "trusts" you to validate your users and assign them the right set of hall passes. That trust is established with your shared secret ... only you and Apple know what it is. But when Apple sees your users, it only sees credentials ... the hall passes ... it doesn't know your users' names, passwords, usernames, etc.
So you might be asking, "Hey Rich, you say that Apple doesn't care about my users, so why does the example transfer script have 'username' in it, what's up with that?" Well, the answer is that you can, if you like, tell Apple to record identity information about your users and pass it back to you later in site usage logs ... but you do not have to pass identity information at all ... you can leave "username", "e-mail", "name" ... you can leave all that stuff blank and iTunes U would still work. However, when Apple sends you your site usage logs, all you'll see is that some "visitor" downloaded a certain track at a certain time. If you want to know who that was, you have to tell Apple to record that for you by sending a username along with a credential set. But Apple does not "see" your usernames/e-mail addresses/whatnot ... all Apple cares about is that credential set. Apple merely records user info to send back to you "as is". If you send bogus user info, for example, Apple would dutifully record it in logs and send it back to you the way you sent it. But get a credential wrong, and iTunes U will not work.
So display name, username, user identifier, and e-mail address are not used by Apple at all in iTunes U. They are just recorded and sent back to you "as is" in usage logs -- they are just means for you to figure who's who when looking at logs. Apple does not encrypt them ... they are sent in the clear. For that reason, I would strongly urge you to not to send password info in that user identifier string.
To restrict access to something in iTunes U, a credential is only half the story ... in iTunes U, there is something called a "permission". A permission is the combination of a credential and an access level. For example, a permission might look like this:
Student@urn:mace:itunesu.com:sites:myu.edu DOWNLOAD
or:
Administrator@urn:mace:itunesu.com:sites:my.edu EDIT
When you create a permission in iTunes U, you're saying that if someone comes to a "place" in your site, and he/she bears a certain credential ("Student" or "Administrator"), that he/she should have a certain access level ("can browse and download content" or "can edit this page") for that "place". Notice how usernames/passwords aren't a part of this scheme ... if you bear the "Student" credential, you can "DOWNLOAD" whereas if you bear the "Administrator" credential, you can "EDIT". Apple does not need to know who's who ... you've already authenticated your people and told Apple about the the creds/access that should be granted. Apple trusts you because you signed the user's request with the shared secret that only you and Apple know.
Make sense?

Similar Messages

  • Is there a php transfer script?

    Has anyone written or stumbled uppon a PHP transfer script they can share?
    Thanks

    Well, I have found this.  I am having trouble understanding how to impliment it.  Does anyone have any helpful suggestions?
    http://omega1.uww.edu/itunesu/

  • I-Tunes Transfer Script - Duncan Bernhardt

    I'm not sure if this is the correct location for this, but i noticed that some other site admins are getting help directly from Duncan Bernhardt, so i'll give it a go.
    I'm trying to do the initial setup for our I-tunes account (the address is https://deimos.apple.com/WebObjects/Core.woa/Browse/und.edu), and I keep getting messages saying the page has been opened in i-tunes, but then there's a error page, and it looks like I-tunes is looking for the transfer script at
    https://www.und.edu/cgi-bin/itunesu?destination=und.edu
    Is this correct? This is the location where the transfer script should be located?
    Kevin Crawford
    University of North Dakota

    The transfer script just needs to be hosted some where that you can access it, but preferably it would be hosted in a secure, password protected location as it gives you site administrator level access to your site.
    The script generates an HTTP POST request that is sent to the iTunes U server. The server checks the digital signature of the token to ensure it is valid. If it is valid then iTunes U returns a redirect URL that gives you access to your iTunes U site.
    https://www.und.edu/cgi-bin/itunesu?destination=und.edu is the default login URL for your site. You are redirected to this URL when your authorization fails. You can change this login URL once you have access to your site.

  • Is this transfer script business necessary?

    I have been asked by my school ot investigate setting up the iTunes site, but I have no clue and it's way over my head in dealing with scripting languages. Can we set up a site without having to create this transfer script business?

    If you don't have a transfer script how are you going to make your site public? How are you going to add content to your site?
    The transfer script is absolutely necessary. Its the only way to ensure that only the authorized users can edit the content of your site.

  • Java transfer script to iTunesU

    I am working on the transfer script to iTunesU.
    In this example
    http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/CustomizingYouriTune sUSite/chapter_8_section_9.html
    credentials=Instructor@urn:mace:example.edu:courses:fall06:eecs302:02&identity=" Jane Doe"<[email protected]>(jdoe)[528392]&time=1139331600
    Jane Doe has access to
    fall06:eecs302:02 course.
    What credentials will give him also access to
    fall06:eecs250:01
    course?
    He needs to have access to both  fall06:eecs302:02 and fall06:eecs250:01 courses (pages).
    Should it be done in the separate tokens to iTunesU?
    Any help will be greatly appreciated!
    Thanks!

    it is being fixed
    thanks!

  • ASP transfer script

    I'm setting up iTunes U for my institute. I've run the initial login email and currently researching solutions for the transfer script.
    Has anyone come across any ASP solutions for this? Thanks.

    Duncan,
    I've got C# (.NET 2.5) code that I use in Windows Woolamaloo. If people would like, I'd be happy to post the code that creates the iTunes U URL request. ASP would, except for superficial languages differences, be the same. The thing about the Windows CLR is that works with any language, so long as that language can be changed to behave the exact same way as C#.

  • Transfer script for public sites

    Hi,
    Is there a way for using a transfer script in public sites ?
    I only want to get the content information using a script.
    Thanks

    We're not including the destination variable in the form post that calls our cgi script. I can't get to the Edit Site Settings window in the original iTunes U store - we use this transfer script to handle the admin access, and it isn't working for that either.  I've been testing a very simple version of this Perl script from a fresh copy of the sample files collection, and with debugging enabled it looks like it is getting everything except for a current time - it tells me that the time is valid, but is "too far in the past" and so it doesn't include the otherwise valid identity and credential values.  I'm checking with our system administrators to verify that our server's time is accurate.  Thanks for the follow-up response.

  • Transfer script for private site has stopped working

    We had split our vintage iTunes U site into a new Public site - keeping the original access-controlled content as a 'private' site - a few months ago.  We had a transfer script in place for the original site, which was used to direct users to course materials with specific credentials supplied to control access.  The transfer script has stopped working at some point in recent weeks - we hadn't modified it for a quite a while, so I'm guessing that it has stopped working due to some change in the destination url.  I couldn't find documentation indicating any changes to the transfer script so that it finds the original site rather than the new Public site - the site url in the script is "https://deimos.apple.com/WebObjects/Core.woa/Browse/scu.edu", which will open the new public site.  If anyone has a suggestion for what we might try to get the script working again, it would be much appreciated.

    We're not including the destination variable in the form post that calls our cgi script. I can't get to the Edit Site Settings window in the original iTunes U store - we use this transfer script to handle the admin access, and it isn't working for that either.  I've been testing a very simple version of this Perl script from a fresh copy of the sample files collection, and with debugging enabled it looks like it is getting everything except for a current time - it tells me that the time is valid, but is "too far in the past" and so it doesn't include the otherwise valid identity and credential values.  I'm checking with our system administrators to verify that our server's time is accurate.  Thanks for the follow-up response.

  • ITunes U transfer scripts and how to setup groups and users

    I have used the SampleCode from apple's iTunes U site to setup the transfer scripts in both Java and Perl. I know how I could use the transfer script to authenticate users, based on groups. But if I have a CS101 class, how do this.. Or essentially this..
    Student@urn:mace:itunesu.com:sites:blah.edu.private:CS101-1230;CS102-2048
    I need to give access to the students that are in those particular classes.

    This video may be of assistance: Integration of Internal iTunes U Sites - http://deimos3.apple.com/WebObjects/Core.woa/Browse/new.duke.edu.1302914143.0352 7899686.3694027036?i=2078373237

  • Subinventory Transfer script .

    Hi All,
    i have developed the following script to bulk sub inventory transfer ,please correct if i done any thing wrong and
    give me some valuable suggestions .
    create or replace
    PROCEDURE XX_SUB_INV_TRN (errbuf OUT varchar2, retcode OUT number,P_SUB_INV_NAM IN VARCHAR2 , P_ORG_ID IN number ,P_ITEM in VARCHAR2,P_SUB_INV_TO VARCHAR2) IS
    l_SUB_INV_NAM mtl_secondary_inventories.SECONDARY_INVENTORY_NAME%type := P_SUB_INV_NAM ;
    l_SUB_INV_TO mtl_secondary_inventories.SECONDARY_INVENTORY_NAME%type := P_SUB_INV_TO ;
    l_ORG_ID mtl_system_items.ORGANIZATION_ID%type := P_ORG_ID ;
    l_item mtl_system_items.segment1%type := p_item;
    l_transaction_interface_id NUMBER;
    p_user_id     NUMBER; -- The USER_ID number
    p_resp_id     NUMBER; -- The ID number of the responsibility
    p_resp_appl_id     NUMBER ;     -- The ID number of the application to which the responsibility belongs
    l_dis_acc_id number ;
    L_RETURN_STATUS varchar2(4);
    l_msg_cnt number;
    l_msg_data varchar2(200);
    l_trans_count number;
    transaction_interface_id number;
    retval NUMBER;
    cursor item_cur Is
    select msi.inventory_item_id,
    msi.organization_id ,
    msin.SECONDARY_INVENTORY_NAME,
    msi.segment1,
    msi.list_price_per_unit,
    msi.lot_control_code,
    msi.primary_uom_code,
    msi.default_so_source_type,
    sum(moq.TRANSACTION_QUANTITY) QTY
    from mtl_system_items msi,
    mtl_secondary_inventories msin,
    mtl_onhand_quantities_detail moq
    where      msi.ORGANIZATION_ID = msin.ORGANIZATION_ID
    and      msi.ORGANIZATION_ID = moq.ORGANIZATION_ID
    and      msi.inventory_item_id = moq.inventory_item_id
    and      msin.SECONDARY_INVENTORY_NAME = moq.subinventory_code
    and      msin.SECONDARY_INVENTORY_NAME = l_SUB_INV_NAM
    and      msi.INVENTORY_ITEM_STATUS_CODE = 'Active'
    AND      MSI.MTL_TRANSACTIONS_ENABLED_FLAG = 'Y'
    and      msi.ORGANIZATION_ID = l_ORG_ID
    and      msi.segment1 = l_item
    group by      msi.inventory_item_id,
    msi.organization_id ,
    msin.SECONDARY_INVENTORY_NAME,
    msi.segment1,
    msi.list_price_per_unit,
    msi.lot_control_code,
    msi.primary_uom_code,
    msi.default_so_source_type
    order by 1,2;
    item_rec item_cur%rowtype;
    BEGIN
    fnd_global.apps_initialize(user_id => 1318
    ,resp_id => 50583
    ,resp_appl_id     => 401);
    BEGIN
    FOR item_rec in item_cur
    LOOP
    BEGIN
    INSERT INTO MTL_TRANSACTIONS_INTERFACE
    TRANSACTION_INTERFACE_ID
    , TRANSACTION_HEADER_ID
    , SOURCE_CODE
    , SOURCE_LINE_ID
    , SOURCE_HEADER_ID
    , PROCESS_FLAG
    , TRANSACTION_MODE
    , LAST_UPDATE_DATE
    , LAST_UPDATED_BY
    , CREATION_DATE
    , CREATED_BY
    , ORGANIZATION_ID
    , TRANSACTION_QUANTITY
    , TRANSACTION_UOM
    , TRANSACTION_DATE
    , TRANSACTION_TYPE_ID
    , LAST_UPDATE_LOGIN
    , ITEM_SEGMENT1
    , SUBINVENTORY_CODE
    , LOCATOR_ID
    , REVISION
    , DSP_SEGMENT1
    , TRANSACTION_SOURCE_NAME
    , TRANSFER_SUBINVENTORY
    , TRANSFER_ORGANIZATION
    , TRANSFER_LOCATOR
    , XFER_LOC_SEGMENT1
    VALUES
    mtl_material_transactions_s.nextval
    , mtl_material_transactions_s.nextval
    , 'INV TEST'
    , mtl_material_transactions_s.nextval
    , mtl_material_transactions_s.nextval
    , 1
    , 2
    , SYSDATE-60
    , 1318
    , SYSDATE-60
    , 1318
    , l_ORG_ID          
    , ITEM_REC.QTY
    , ITEM_REC.primary_uom_code
    , '11-JAN-2010'
    , 2
    , -1
    , ITEM_REC.segment1
    , l_SUB_INV_NAM
    , NULL
    , NULL
    , NULL
    , NULL
    , l_SUB_INV_TO
    , l_ORG_ID
    , NULL
    , NULL
    COMMIT;
    select transaction_interface_id into l_transaction_interface_id from mtl_transactions_interface ;
    dbms_output.put_line('before calling API');
    FND_FILE.PUT_LINE(Fnd_File.Log ,'before calling API');
    -- Call API to process transactions
    retval := apps.INV_TXN_MANAGER_PUB.process_Transactions(
    p_api_version => 1.0
    ,p_init_msg_list => fnd_api.g_true
    ,p_commit => fnd_api.g_true
    ,p_validation_level => fnd_api.g_valid_level_full
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_cnt
    ,x_msg_data => l_msg_data
    ,x_trans_count => l_trans_count
    ,p_table => 1
    ,p_header_id => l_transaction_interface_id
    dbms_output.put_line (item_rec.inventory_item_id || ' ' || item_rec.segment1|| ' '||l_trans_count||' '|| l_msg_data);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    END;
    EXIT when item_cur%NOTFOUND;
    END LOOP;
    END ;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    WHEN OTHERS THEN
    -- Consider logging the error and then re-raise
    RAISE;
    END XX_SUB_INV_TRN;
    Thanks,
    apasupuleti

    No.
    But you can use a move order and do a approvals for move orders.

  • Computer to Computer Data Transfer Script

    Hi Guys,
    We have a new customer that wants to transfer specific data (My Documents from D:, Desktop, Favorites, Dictionary and Signatures from C:) from old computer to new computer over network logged in as user. We have existing scripts that backup to server
    starting with VBscript that prompts for user name and then it kicks off a batch file that has all files to copied from computer to server. For restore to new computer, we have another script restores from server.
    I'm looking to create a VBscript that can run from flash drive and detects source computer it's run from. Then a box to appear that prompts "Enter Username" and "Enter Destination Computer Name". Once info is entered, a batch file that
    has all files to be copied from Source to Destination, eg D:\My Documents, C:\Users\username\Desktop, C:\Users\username\Favorites, C:\Users\username\AppData\Roaming\Microsoft\UProof, C:\Users\username\AppData\Roaming\Microsoft\Signatures.
    I found some scripting online but can seem to piece together anything that works. I am new to the scripting world and would appreciate any assistance I can get.
    Thank you!!

    That utility is built into Windows.  It is the migration wizard.  It will migrate across network, able or via files.
    http://windows.microsoft.com/en-us/windows7/products/features/windows-easy-transfer
    You can also use the USMT for domain migrations.
    If you are not a technician or are not trained in Windows desktop administration then you might ask your system administrator or vendor for help in using Windows.  Windows has had builtin migration tools that do exactly what you ask since Windows XP.
    If you are just a user and this is home system then as here:
    http://answers.microsoft.com
    ¯\_(ツ)_/¯

  • Need Archive file transfer script

    Hi,
    I am creating a manual standby database (Not DataGuard) in oracle 10g using Unix OS.I need to transfer archive files from primary to standby database on hourly basis.
    For this purpose I need script that can help me to transfer archive files.
    Your usual cooperation will be highly appreciated.

    I am creating a manual standby database (Not DataGuard) in oracle 10g using Unix OS.I need to transfer archive files from primary to standby database on hourly basis.
    For this purpose I need script that can help me to transfer archive files.
    Your usual cooperation will be highly appreciated.In case of manual standby, the more simple will be not to transfer files to standby site, but make them available by nfs. So, there will be no need to check what logs were sent and applied. Recovery script on standby will just periodically perform recovery from this destination. Script will always ends with message like this that can be ignored:
    ORA-00308: cannot open archived log '.......'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory

  • How to transfer script chnage

    Hi All,
    I did small change in sap script. and it generate one ReqNo.
    I need to transfer this change into Quality Server.
    Do i need to transfer that Reqno with SE09. or is there any other way.
    What i will do.
    Thanks,
    Subbu

    release the request(se09 or se10) and then through transaction STMS impost the request to the target system.
    vijai
    rewrd pnts if useful.

  • File Transfer script from Linux to Window on same Network...

    Please help me out....I'm generating a backup file .dmp on Linux machine via DBMS_SCHEDULER. Now i want to copy .dmp file to another machine like WINDOWS on same Network.
    Please help me.....Thank you.

    This is a duplicate to their original post in the SQL-PL/SQL forum space.
    https://community.oracle.com/thread/3520448
    They've already been pointed toward documents that guide how to do this.

  • Payment Transfer Prinitng using Z-script

    Dear All,
    I am trying to print Payment transfer form from the transactions FB60 and F110.
    Here I have taken the Z-copy of the Script form "F110_D_AVIS" and modified the script to my requirement.
    Then I assigned the Z-form in the FBZP transaction.
    But the output is coming as it is in the standard. The Z-form is not reflecting in the payment transfer output.
    On the other side, I changed the form to "F110_CH_AVIS" in the FBZP transaction to test whether that standard is reflecting. But it is also not reflecting in the output.
    Can anyone help me. what could be the reason for this issue?

    Hi,
    I tried all your options. It is also not the transportation problem.
    I even tried Script debugger, it is not breaking at the script position.
    Now with different options.. I tried the Japanese Bank transfer script and program, but the output itself is not coming.
    Also I tried with taking Z-copy of the driver program which was assigned in FBZP trxn and kept break point in front of the OPEN_FORM function module.. then also it is not breaking while running in F110.
    Can anyone show the way to resolve this issue?

Maybe you are looking for

  • Utauthd gets in a loop after disconnect or reset a sunray client

    Running Sunray Server software 4.2 on Oracle Enterprise Linux 5.5; works fine except when the connection reset, by accident or intentionally; one would expect a Sun Ray Session lock screen, to provide the pw and restore the connection and session the

  • How to restore iPad without Redownloading iOS6

    I have already downloaded via WiFi and trying to restore it via iTunes. It wants to download iOS6 before restoring. I know I can do it via the iPad but can I do it without downloading what I already have?

  • What is Gateway User and password in Oracle Discoverer Administrator

    hi. i have install BI tools and want to connect to database. what is Gateway user ID / Password and Foundation Name and what username i give in it and how i can use discoverer desktop. plz urgent thx

  • Changing background.

    Is there a way to change the background without going into system preferences? I believe in windows you can right click and set an image as the desktop....is something similar possible on the mac? am I overlooking the obvious? -justin

  • HR Appraisal System : Columns adding

    Hi, I have added two cloumns (Modifier and Performance Category) in the column tab of Appraisal template. The issue is with modifier column because whenver user enters value it is placing 3 decimals.Client doesn't want 3 instead they need 2 decimals.