this is my first post, and my question is...
i have some text files from which my app reads and process data, these text files are in hundreds and i am now providing them in a folder, but these should not be accessed by others, how i can do this? plz help me.
my app is written in vb .net
These text files are they static or dynamic?
If they're dynamic, I'll assume another application is supplying them and then there is little you can do. You might be able to create an ACL and limit the number of people who can use and or look at the application and the data.
If they're static, you can do a couple of things to make more difficult to look at but if someone is determined there are ways around almost anything you do.
One thing you can do, instead of text files, you can incorporate the files into your application as resources. You would have to recompile the application every time you changed one of the text resources which could be a pain depending on distribution of you application and how many people receive it.
Another idea would be to encrypt the files and allow the application to decrypt them in memory to read them. But this would require you to encrypt text files prior to distribution; moreover, there would be no quick editing of the text files in place with notepad.
Or lastly, convert the files over to a secure database. Depending on the database you choose it could become an administration headache depending on distribution or would you self host a public database. This would be the most secure method.
cout << "What is your name?" << "\n" << endl;
cin >> name;
cout << "Have you got a full drivers license?" "\n" << endl;
cin >> drivinglicense;
cout << "what is your address?" << "\n" << endl;
cin >> address;
cout << "what is your telephone number?"<< "\n" << ...
I am currently creating a simulation of a pizza ordering system in object oriented program. I have some question. the instruction and guideline is long but I will try and cut it down a lot. the instruction is to create a program that simulate a pizza restaurant using ...
i am using visual studio 2015 and trying to export data which i am importing through excel by the user selected Excel file. Now the importing part has been successfully completed i am using OLEDB Connection but Stuck in exporting the same data to a new Excel file. tried ...