I don't see how that could ever work. First problem, you won't have the necessary capabilities to even switch into some folders, much less the necessary rights to delete them.
Second, I think that some files on C:\ are open and in use as long as the OS runs, and it won't allow you to delete such open files, for obvious reasons.
If you delete "all files in c:\" then your phone probably will not boot anymore.
luckily though, the sensitive ones containing settings and such are secured with capabilities you wont get unless you have device manufacturer permission.
And, as noted, many files containing sensitive information (like phone book, messaging, etc) will be locked by programs having them opened, that will prevent you from deleting them even if you have all the capabilities there is.
Also, note that just deleting the file is not enough to get rid of the information it contains, someone with the right tools can easily pick the phone apart and dump the flash memory and read deleted files, unless you make sure to really _wipe_ them. (that is, overwriting it)
And that is also possible if you just do the normal factory reset of the phone.
I'm not saying you should give up on the idea, but I think you are in for _a_lot_ more work then you thought it would be...
You will _not_ be able to find just some simple api to call to implement that wipeing functionality, it will need a lot of studying of the system, and be very hard to really get secure and not just some vodoo without any real security enhancement.
Why do you say "If you delete "all files in c:\" then your phone probably will not boot anymore"
It should be safe to delete like this. At least I've tried and was fine.
What user must not delete she's not able to delete.
To have read/write access to c:\ applications needs no capabilities
Why do you say "If you delete "all files in c:\" then your phone probably will not boot anymore"
It should be safe to delete like this. At least I've tried and was fine.
What user must not delete she's not able to delete.
To have read/write access to c:\ applications needs no capabilities
Maybe you should read more then just the first line of my post.
Hi,
Assuming we have all the capabilities, can we achieve wiping of the phone? Here Wipe means : removing all user installed apps and user data [ nothing of OS related data]...
Forum posts: 1058
Still searching for ways to "wipe" a mobile?
I don't see how that could ever work. First problem, you won't have the necessary capabilities to even switch into some folders, much less the necessary rights to delete them.
Second, I think that some files on C:\ are open and in use as long as the OS runs, and it won't allow you to delete such open files, for obvious reasons.
René Brunner
Forum posts: 128
hi,
There is a class called RFs. It has a function called Delete() and RmDir(). You can use these functions to delete file and directory.
Sunny
Forum posts: 1134
If you delete "all files in c:\" then your phone probably will not boot anymore.
luckily though, the sensitive ones containing settings and such are secured with capabilities you wont get unless you have device manufacturer permission.
And, as noted, many files containing sensitive information (like phone book, messaging, etc) will be locked by programs having them opened, that will prevent you from deleting them even if you have all the capabilities there is.
Also, note that just deleting the file is not enough to get rid of the information it contains, someone with the right tools can easily pick the phone apart and dump the flash memory and read deleted files, unless you make sure to really _wipe_ them. (that is, overwriting it)
And that is also possible if you just do the normal factory reset of the phone.
I'm not saying you should give up on the idea, but I think you are in for _a_lot_ more work then you thought it would be...
You will _not_ be able to find just some simple api to call to implement that wipeing functionality, it will need a lot of studying of the system, and be very hard to really get secure and not just some vodoo without any real security enhancement.
Forum posts: 30
Why do you say "If you delete "all files in c:\" then your phone probably will not boot anymore"
It should be safe to delete like this. At least I've tried and was fine.
What user must not delete she's not able to delete.
To have read/write access to c:\ applications needs no capabilities
Forum posts: 32
Hi Genesis,
Could you please let me know how you were able to delete all files and folders in C:\?
Thanks in advance,
Tejaswini
NEWBIE OF SYMBIAN
Forum posts: 1134
Maybe you should read more then just the first line of my post.
Forum posts: 32
Hi,
Assuming we have all the capabilities, can we achieve wiping of the phone? Here Wipe means : removing all user installed apps and user data [ nothing of OS related data]...
Regards
Tej
NEWBIE OF SYMBIAN