Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 15th, 2003, 08:33 AM
Authorized User
 
Join Date: Jun 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sandeep
Default Isolated Storage Area

Hi Everybody!
             I have created an application for which i am distributing Trial version of 30 days. I have learned that we can store all the information that we don't want the user to tamper with in isolated storage.My application writes the date into the isolated
storage area the first time application runs. On all subsequent executions my application checks for expiry date as per the information stored in storage area. I installed the trial
version on one of my friend's machine and everything was fine. Then my friend told me that he could easily break my application by going to command prompt utility and writting the following
command:
> storeadm /remove

By writing this he was able to remove the entry my application made in storage area. I have read that access to the store is restricted to the user who created it. Is there anything special i have to
do to not allow the user of my application to tamper with the data written in isolated storage? Is there any other break-proof method for making trial version of application? Any help on this topic will be greatly appreciated.

Thanks
sandeep
 
Old June 22nd, 2003, 05:51 AM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi santy sandy,

Isolated storage provides a location where
applications can store
configuration and other settings without fear of
corruption by other
applications.
www.amitsingh\isolated.html
gives examples of the scenarios where it is useful and
some where it is not.

Isolated storage, however, provides no protection from
highly trusted code,
unmanaged code or trusted users of the computer.
"storeadm" is an
administrative tool for Isolated storage and "storeadm
/remove" is the
command line for removing all isolated storage for the
current user. Also,
the location of the Isolated stores on the filesystem
is public information
and any user who has write access to the relevant
directories can just go in
and delete them.

For all these reasons, the user who downloads and
installs your 30-day trial
application can easily delete the date information
that you set up in
Isolated storage. This is not one of the recommended
uses of Isloated
storage.

Hope this helps.
Thanks,
ur friends singh ji :D
 
Old July 2nd, 2003, 06:18 AM
Authorized User
 
Join Date: May 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

One Alternative way of doing this is that when ever u make the setup of your application then write a value in registry e.g. current time and then whenever your application will run, just check the current time with the stored value in the registry.


Quote:
quote:Originally posted by sandeep
 Hi Everybody!
             I have created an application for which i am distributing Trial version of 30 days. I have learned that we can store all the information that we don't want the user to tamper with in isolated storage.My application writes the date into the isolated
storage area the first time application runs. On all subsequent executions my application checks for expiry date as per the information stored in storage area. I installed the trial
version on one of my friend's machine and everything was fine. Then my friend told me that he could easily break my application by going to command prompt utility and writting the following
command:
> storeadm /remove

By writing this he was able to remove the entry my application made in storage area. I have read that access to the store is restricted to the user who created it. Is there anything special i have to
do to not allow the user of my application to tamper with the data written in isolated storage? Is there any other break-proof method for making trial version of application? Any help on this topic will be greatly appreciated.

Thanks
sandeep
Deepesh Jain
VB,VBA & .NET Specialist
Wiley Support Team
 
Old July 6th, 2003, 03:53 PM
Authorized User
 
Join Date: Jun 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I know this warrants a discussion in itself, but with dissassembly, could the user not quite easily see the registry key and then change it themselves?

Quote:
quote:Originally posted by Deepesh_Jain
 One Alternative way of doing this is that when ever u make the setup of your application then write a value in registry e.g. current time and then whenever your application will run, just check the current time with the stored value in the registry.


Quote:
quote:Originally posted by sandeep
 Hi Everybody!
             I have created an application for which i am distributing Trial version of 30 days. I have learned that we can store all the information that we don't want the user to tamper with in isolated storage.My application writes the date into the isolated
storage area the first time application runs. On all subsequent executions my application checks for expiry date as per the information stored in storage area. I installed the trial
version on one of my friend's machine and everything was fine. Then my friend told me that he could easily break my application by going to command prompt utility and writting the following
command:
> storeadm /remove

By writing this he was able to remove the entry my application made in storage area. I have read that access to the store is restricted to the user who created it. Is there anything special i have to
do to not allow the user of my application to tamper with the data written in isolated storage? Is there any other break-proof method for making trial version of application? Any help on this topic will be greatly appreciated.

Thanks
sandeep
Deepesh Jain
VB,VBA & .NET Specialist
Wiley Support Team





Similar Threads
Thread Thread Starter Forum Replies Last Post
Storage Engine ashuphp Beginning PHP 1 April 19th, 2007 12:13 AM
intermediate storage sarah lee ASP.NET 1.0 and 1.1 Basics 3 September 11th, 2006 01:31 PM
date storage simplyAns Oracle 4 October 20th, 2004 03:59 AM
Binary storage and retrieval acm54 SQL Server ASP 0 January 26th, 2004 10:30 PM
Document Storage [email protected] SQL Server 2000 1 December 23rd, 2003 10:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.