Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Help need for File conept...

2 replies · 1,050 views · Started 10 January 2006

Hi dears,

I am Prakash.A working in symbian C++ env.

Now a new problem has been assigned to me.

I have create a file in mobiel devie that is "C:\cellid.txt" and store some data...

It can be opened and can be read out the data succesfully..

Tiil this working fine...

But I have to assign a security for this file...such as if the the mobile user try to delete that file it shoudl not
be deleted..
How can I assing the security for the file...

Please help me and do the needful...

With Regards,
Prakash.A

There is no file-system level security on the phone. All you can do is to set a hidden or readonly attribute, but any other application can undo those and still delete the file.

With Symbian 9 based devices there is a new concept called datacaging where one application's files are protected from access from other apps (in phone memory; if they are on a memory card, anyone could read the card contents in a PC, for example).

Hi,

Thank Q for your kindly response..

With Regards,
Prakash.A