Hi Greg

>> Peter, is it something to do with the need for a strong name or a publishing 
>> certificate?

Tried those. Did not solve the problem. Well I did not publish the application 
but I did specify to sign the ClickOnce manifest. As I did not actually publish 
it, there would be no manifest so it was not surprising it did not solve 
anything.

When I commented out

            listBox1.Items.Add("GetMachineStoreForApplication : " + 
IsolatedStorageFile.GetMachineStoreForApplication());
and
            listBox1.Items.Add("GetUserStoreForApplication : " + 
IsolatedStorageFile.GetUserStoreForApplication());

It seemed to like it better (at least I did not get an exception).

>physical location of these stores is rather opaque

Just like where ClickOnce actually places one's assemblies and related stuff.

It does not matter as long as I can create a file or directory and use this to 
persist information (and read it back of course).

> Hang on! That's my epitaph in the modern programming world. As Stephen says, 
> if it was easy, everyone would be doing it. That doesn't make me feel any 
> better though ;-)

Good point. We wouldn't have a job would we. I could say something about MS 
Access developers but I must resist the temptation.


Regards Peter Maddin
Applications Development Officer
PathWest Laboratory Medicine WA
Phone : +618 9473 3944
Fax : +618 9473 3982
E-Mail : [email protected]
The contents of this e-mail transmission outside of the WAGHS network are 
intended solely for the named recipient's), may be confidential, and may be 
privileged or otherwise protected from disclosure in the public interest. The 
use, reproduction, disclosure or distribution of the contents of this e-mail 
transmission by any person other than the named recipient(s) is prohibited. If 
you are not a named recipient please notify the sender immediately.

From: [email protected] [mailto:[email protected]] On 
Behalf Of Greg Keogh
Sent: Monday, 15 March 2010 3:02 PM
To: 'ozDotNet'
Subject: RE: Isolated Storage Security

Peter, is it something to do with the need for a strong name or a publishing 
certificate?

I don't think your listbox will show anything useful, as the physical location 
of these stores is rather opaque (you can see them buried deep under the Users 
folders with mangled folder names that look like they're made of hashes.

Why does something that should be simple have to be made so hard??

Hang on! That's my epitaph in the modern programming world. As Stephen says, if 
it was easy, everyone would be doing it. That doesn't make me feel any better 
though ;-)

Greg

Reply via email to