locked
The Maximum Item number allowed to put into StorageApplicationPermissions.FutureAccessList RRS feed

  • Question

  • Hi,

    Just as the following thread suggested, we know that we have to insert the file access right into accessCache for later access.

         File Access using Windows.Storage.Pickers.FileOpenPicker and ... 

    However, we found a problem that according to the msdn reference, StorageApplicationPermissions.FutureAccessList has a property  MaximumItemsAllowed, which seems to indicate that this list has a limited count.

    Is it possible that we could have a list which can contain unlimited items?

    Or if there is another way to store the access permissions to break the limit?

    --

    The scenario for our app. is the user could select some files and maintain a list of files he accessed.

    Then, he could access those files later without using the file picker.

    Best regards,

    Rudy



    • Edited by Rudy Lu Thursday, February 9, 2012 4:09 AM To rephrase the question
    Wednesday, February 8, 2012 8:32 AM

Answers

  • Hi Rudy,

    That is the way to store file permissions.  We don't have another mechanism for this.  You could store the file names in a list, but you would not have the access permissions stored with them.

    -Jeff


    Jeff Sanders (MSFT)

    Thursday, February 9, 2012 1:03 PM
    Moderator

All replies

  • Hi Rudy,

    Is there a problem with this property?  Does not not report back the correct value?  Do you just not want to have any limits despite the fact that there are limits?

    -Jeff


    Jeff Sanders (MSFT)

    Wednesday, February 8, 2012 2:36 PM
    Moderator
  • Hi Jeff,

    No problem for the property, it reported '1000' per my test.

    What we want to know if it is possbile for a metro app. to keep a list of all the files that the user accessed before.

    Or, if there is another way to store the access permissions to enable the above scenario.

    Thanks for your reply.

    Best regards,

    Rudy


    Thursday, February 9, 2012 4:08 AM
  • Hi Rudy,

    That is the way to store file permissions.  We don't have another mechanism for this.  You could store the file names in a list, but you would not have the access permissions stored with them.

    -Jeff


    Jeff Sanders (MSFT)

    Thursday, February 9, 2012 1:03 PM
    Moderator
  • But with this limitation, there is no way to develop certain kind of applications (like a decent music player), since the user can't store more than 1000 musics... that absurd!
    Tuesday, May 22, 2012 1:45 PM